| DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))))) |
DMSQInv(gs, lsf, pcf), gs.vs[(gs.orl + gs.qrl).last].next ≠ null ⊦ ( pcf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid) = E10 ∧ lsf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid).success ∨ pcf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid) = E11) ∧ lsf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid).node = gs.vs[(gs.orl + gs.qrl).last].next ∧ lsf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid).lst = gs.vtail ∧ gs.vtail = (gs.orl + gs.qrl).last
gs.vs[(gs.orl + gs.qrl).last].next = null, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)))))
lsf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid).lst = gs.vtail, lsf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid).node = gs.vs[(gs.orl + gs.qrl).last].next, gs.vtail = (gs.orl + gs.qrl).last, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid) = E10 ∧ lsf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid).success ∨ pcf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)))))
Used terms: gs, lsf, pcf
| DMSQInv(gs, lsf, pcf), gs.vs[(gs.orl + gs.qrl).last].next ≠ null ⊦ ( pcf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid) = E10 ∧ lsf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid).success ∨ pcf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid) = E11) ∧ lsf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid).node = gs.vs[(gs.orl + gs.qrl).last].next ∧ lsf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid).lst = gs.vtail ∧ gs.vtail = (gs.orl + gs.qrl).last |
| gs.vs[(gs.orl + gs.qrl).last].next = null, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))))) |
gs.vs[(gs.orl + gs.qrl).last].next = null, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)) ⊦
| gs.vs[(gs.orl + gs.qrl).last].next = null, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)) ⊦ |
vs[(orl + qrl).last].next = null, gs = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)) ⊦
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
| vs[(orl + qrl).last].next = null, gs = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)) ⊦ |
vs[(orl + qrl).last].next = null, 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), doEnq(tid), mkstate(gs0, lsf0, pcf0)) ⊦
| vs[(orl + qrl).last].next = null, 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), doEnq(tid), mkstate(gs0, 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), vs[(orl + qrl).last].next = null, ca = doEnq(tid), 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, DMSQInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf) ⊦
Used terms: lsf, doEnq(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), vs[(orl + qrl).last].next = null, ca = doEnq(tid), 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, DMSQInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf) ⊦ |
vs[(orl + qrl).last].next = null, DMSQInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), lstep(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].deqID:= vs[vtail0].deqID], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ⊦
Used simplifier rules: ⊦ doEnq(tid) ≠ globalCRASH; (s) ⊦ doEnq(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) ⊦ doEnq(tid) ≠ globalFLUSHVAL(node); (s) ⊦ doEnq(tid) ≠ globalFLUSHHEAD; (s)
| vs[(orl + qrl).last].next = null, DMSQInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), lstep(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].deqID:= vs[vtail0].deqID], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ⊦ |
⊦ DMSQInv(gs, lsf, pcf) ↔ DMSQGInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(gs, lsf(tid), pcf(tid)))
vs[(orl + qrl).last].next = null, DMSQGInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), ∀ 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), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].deqID:= vs[vtail0].deqID], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ⊦
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))) |
| vs[(orl + qrl).last].next = null, DMSQGInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), ∀ 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), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].deqID:= vs[vtail0].deqID], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ⊦ |
⊦ 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)
vs[(orl + 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 ≠ [], 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)), lstep(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].deqID:= vs[vtail0].deqID], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, 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 ⊦
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) |
| vs[(orl + 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 ≠ [], 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)), lstep(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].deqID:= vs[vtail0].deqID], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, 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 ⊦ |
vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, orl ≠ [], 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)), lstep(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].deqID:= vs[vtail0].deqID], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, 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) ⊦
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)
| vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, orl ≠ [], 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)), lstep(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].deqID:= vs[vtail0].deqID], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, 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) ⊦ |
vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, lsf2 = lsf(tid0; ls), pcf2 = pcf(tid0; pc), orl ≠ [], 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), doEnq(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(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 ⊦
vs[(orl + qrl).last].next = null, doEnq(tid) = (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), dom vrvHp = dom prvHp, gs1 = mkgs (ps[vtail0, ps[vtail0].deqID:= vs[vtail0].deqID], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns), lsf2 = lsf, pcf2 = pcf, orl ≠ [], vtail0 ≠ null, 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, vtail0 ∈ vs, vtail0 ∈ 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)), 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 ⊦
| vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, lsf2 = lsf(tid0; ls), pcf2 = pcf(tid0; pc), orl ≠ [], 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), doEnq(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(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 ⊦ |
vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, orl ≠ [], 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), doEnq(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(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) ⊦
| vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, orl ≠ [], 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), doEnq(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(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) ⊦ |
⊦ 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)
vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, gs1 = gstepf(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), ls = lstepf(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), pc = pcstepf(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), 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), doEnq(tid)), 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 ⊦
Used terms: doEnq(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) |
| vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, gs1 = gstepf(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), ls = lstepf(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), pc = pcstepf(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), 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), doEnq(tid)), 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 ⊦ |
vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, orl ≠ [], 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), pcf(tid0) = E11 ∧ lsf(tid0).tid = tid ∧ ps[lsf(tid0).lst].next ≠ vs[lsf(tid0).lst].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid ∧ lsf(tid0).lst = (orl + qrl).last ⊦
Used simplifier rules: pre-doEnq: ⊦ pre(gs, ls, pc, doEnq(tid)) ↔ pc = E11 ∧ ls.tid = tid ∧ gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ∨ (pc = D16 ∨ pc = E14) ∧ gs.owns(ls.nxt).tid = tid ∧ ls.lst = (gs.orl + gs.qrl).last; ⊦ 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) .owns = owns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s)
| vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, orl ≠ [], 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), pcf(tid0) = E11 ∧ lsf(tid0).tid = tid ∧ ps[lsf(tid0).lst].next ≠ vs[lsf(tid0).lst].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid ∧ lsf(tid0).lst = (orl + qrl).last ⊦ |
vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), orl ≠ [], 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)), pcf(tid0) = E11 ∧ tid1 = tid ∧ ps[vhead2].next ≠ vs[vhead2].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(vhead3).tid = tid ∧ vhead2 = (orl + qrl).last, 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 ⊦
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
| vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), orl ≠ [], 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)), pcf(tid0) = E11 ∧ tid1 = tid ∧ ps[vhead2].next ≠ vs[vhead2].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(vhead3).tid = tid ∧ vhead2 = (orl + qrl).last, 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 ⊦ |
vs[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), 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), pcf(tid0) = E11 ∧ tid1 = tid ∧ ps[vhead2].next ≠ vs[vhead2].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(vhead3).tid = tid ∧ vhead2 = (orl + qrl).last ⊦
Used terms: tid0
| vs[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), 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), pcf(tid0) = E11 ∧ tid1 = tid ∧ ps[vhead2].next ≠ vs[vhead2].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(vhead3).tid = tid ∧ vhead2 = (orl + qrl).last ⊦ |
vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), 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), pcf(tid1)), 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), pcf(tid) = E11 ∧ tid1 = tid ∧ ps[vhead2].next ≠ vs[vhead2].next ∨ (pcf(tid1) = D16 ∨ pcf(tid1) = E14) ∧ owns(vhead3).tid = tid ∧ vhead2 = (orl + qrl).last ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), 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), pcf(tid1)), 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), pcf(tid) = E11 ∧ tid1 = tid ∧ ps[vhead2].next ≠ vs[vhead2].next ∨ (pcf(tid1) = D16 ∨ pcf(tid1) = E14) ∧ owns(vhead3).tid = tid ∧ vhead2 = (orl + qrl).last ⊦ |
⊦ 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)))
vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), orl ≠ [], 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), pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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), pcf(tid1) = 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) ), pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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), pcf(tid1) = 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) ), pcf(tid1) = 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), pcf(tid1) = 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, pcf(tid1) = 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 ], pcf(tid1) = 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 ], pcf(tid1) = 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)), pcf(tid1) = 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)), pcf(tid1) = 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)), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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, pcf(tid1) = 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) ), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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, pcf(tid1) = 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), pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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), pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = 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, pcf(tid1) = E4 ∨ pcf(tid1) = 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 ], pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = 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), pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = 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 ], pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = 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), pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = 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), pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success, pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = 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, pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = 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, pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = 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, pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = 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, pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = 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), pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = 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), pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 ∨ pcf(tid1) = E17 ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = 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), pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = 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), pcf(tid1) = crashed ∨ pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 ∨ pcf(tid1) = E17 ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = 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), pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = 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), pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = 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), pcf(tid1) = crashed ∨ pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = D34 ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = 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), pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = 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), pcf(tid1) = 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) ), pcf(tid1) = 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) ), pcf(tid1) = 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)), pcf(tid) = E11 ∧ tid1 = tid ∧ ps[vhead2].next ≠ vs[vhead2].next ∨ (pcf(tid1) = D16 ∨ pcf(tid1) = E14) ∧ owns(vhead3).tid = tid ∧ vhead2 = (orl + qrl).last, 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 ⊦
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), pcf(tid1)
| ⊦ 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))) |
| vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), orl ≠ [], 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), pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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), pcf(tid1) = 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) ), pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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), pcf(tid1) = 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) ), pcf(tid1) = 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), pcf(tid1) = 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, pcf(tid1) = 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 ], pcf(tid1) = 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 ], pcf(tid1) = 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)), pcf(tid1) = 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)), pcf(tid1) = 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)), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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, pcf(tid1) = 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) ), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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), pcf(tid1) = 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, pcf(tid1) = 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), pcf(tid1) = 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, pcf(tid1) = 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, pcf(tid1) = 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), pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = 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, pcf(tid1) = E4 ∨ pcf(tid1) = 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 ], pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = 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), pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = 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 ], pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = 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), pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = 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), pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success, pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = 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, pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = 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, pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = 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, pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = 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, pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = 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), pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = 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), pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 ∨ pcf(tid1) = E17 ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = 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), pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = 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), pcf(tid1) = crashed ∨ pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 ∨ pcf(tid1) = E17 ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = 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), pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = 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), pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = 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), pcf(tid1) = crashed ∨ pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = D34 ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = 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), pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = 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), pcf(tid1) = 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) ), pcf(tid1) = 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) ), pcf(tid1) = 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)), pcf(tid) = E11 ∧ tid1 = tid ∧ ps[vhead2].next ≠ vs[vhead2].next ∨ (pcf(tid1) = D16 ∨ pcf(tid1) = E14) ∧ owns(vhead3).tid = tid ∧ vhead2 = (orl + qrl).last, 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 ⊦ |
vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), orl ≠ [], 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), pcf(tid1) = E4 → (obsEmpty ⊃ noowns(tid1, owns);oneowns(tid1, vhead1, owns, vs, ps)), pcf(tid1) = E11 → (ps[vhead2].next ≠ vs[vhead2].next ⊃ oneweakowns(tid1, vhead1, owns, vs, ps);noowns(tid1, owns)), pcf(tid1) = E10 → (obsEmpty ⊃ (ps[vhead2].next ≠ vs[vhead2].next ⊃ oneweakowns(tid1, vhead1, owns, vs, ps);noowns(tid1, owns));oneowns(tid1, vhead1, owns, vs, ps)), pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → oneowns(tid1, vhead1, owns, vs, ps), pcf(tid1) = crashed ∨ pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = D34 ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E17 → noowns(tid1, owns), pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 → noid(tid1, orl + qrl, vhead3, vs), pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 → noid(tid1, orl + qrl, vhead4, vs), pcf(tid1) = crashed ∨ pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 ∨ pcf(tid1) = E17 ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = D34 → noid(tid1, orl + qrl, vhead, vs), pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 → vhead ≠ vhead4 → nextnottid(tid1, vhead, vs), pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 ∨ pcf(tid1) = E17 ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = D34 → nextnottid(tid1, vhead, vs), pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 → addr ∈ vrvHp ∧ addr ≠ null ∧ optval = Val(vs[vhead3].val), pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 → obsEmpty ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ≠ null ∧ rvowns(vretRefs(tid1)) = Claimed(tid1, vs[vhead3].val) ∧ optval = Val(vs[vhead3].val), pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 → vretRefs(tid1) = rvref ∧ pretRefs(tid1) = vretRefs(tid1) ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ≠ null, pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 → vhead2 ∈ orl + qrl from vhead4, pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 → vhead4 ≠ vhead2 ∧ vhead0 ∈ orl + qrl from vhead2, pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 → vhead4 ∈ orl ∧ vhead ∈ orl from vhead4, pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → ¬ obsEmpty, pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 → ¬ obsEmpty ∧ rvowns(vretRefs(tid1)) = Pending(tid1), pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 → ¬ obsEmpty ∧ rvowns(vretRefs(tid1)) = Pending(tid1), pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → ps[vhead1] = vs[vhead1], pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → vs[vhead1] = mk(val, None, null), pcf(tid1) = E4 ∨ pcf(tid1) = E10 → ¬ obsEmpty → ¬ vhead1 ∈ orl ∧ ¬ vhead1 ∈ qrl ∧ vhead1 ≠ null ∧ vhead1 ∈ ps ∧ vhead1 ∈ vs ∧ owns(vhead1) = Some(tid1) ∧ vs[vhead1] = mk(val, None, null) ∧ ps[vhead1] = vs[vhead1], pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → vhead1 ∈ ps ∧ vhead1 ∈ vs ∧ vhead1 ≠ null ∧ ¬ vhead1 ∈ orl ∧ ¬ vhead1 ∈ qrl, pcf(tid1) = E16 → owns(vhead1) = Some(tid1), pcf(tid1) = E15 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = vs[vhead2].next ∧ vs[vhead2].next = ps[vhead2].next ∧ vs[vhead2].next ≠ null, pcf(tid1) = E14 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = vs[vhead2].next ∧ vs[vhead2].next ≠ null, pcf(tid1) = E13 → owns(vhead1) = Some(tid1), pcf(tid1) = E12 → obsEmpty ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vs[vhead2].next ∈ orl ∨ vs[vhead2].next ∈ qrl) ∧ vs[vhead2].next = vhead1 ∧ ps[vhead2].next = vs[vhead2].next ∧ vs[vhead2].next ∈ ps ∧ vs[vhead2].next ∈ vs ∧ vs[vhead2].next ≠ null, pcf(tid1) = E11 → obsEmpty ∧ vs[vhead2].next = vhead1 ∧ vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].val = val ∧ (vhead2 = vhead0 ∧ ps[vhead0].next = null ∧ owns(vs[vhead0].next) = Weak(tid1) ∨ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ ps[vhead2].next = vs[vhead2].next), pcf(tid1) = E10 → obsEmpty → vs[vhead2].next = vhead1 ∧ vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].val = val ∧ (vhead2 = vhead0 ∧ ps[vhead0].next = null ∧ owns(vs[vhead0].next) = Weak(tid1) ∨ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ ps[vhead2].next = vs[vhead2].next), pcf(tid1) = E9 → owns(vhead1) = Some(tid1) ∧ vhead3 = null ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vs[vhead2].next = null → vhead0 = vhead2), pcf(tid1) = E8 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead2].next) ∧ (vs[vhead2].next = null → vhead0 = vhead2), pcf(tid1) = E7 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead2].next) ∧ (vs[vhead2].next = null → vhead0 = vhead2), pcf(tid1) = E6 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (ps[vhead2].next = null → vhead2 = vhead0), pcf(tid1) = E5 → owns(vhead1) = Some(tid1), pcf(tid1) = E3 → owns(vhead1) = Some(tid1), pcf(tid1) = E2 → owns(vhead1) = Some(tid1), pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)] ∧ vrvHp[vretRefs(tid1)] = prvHp[pretRefs(tid1)] ∧ vretRefs(tid1) = pretRefs(tid1) ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ≠ null ∧ rvowns(vretRefs(tid1)) = (vrvHp[vretRefs(tid1)] = Empty ⊃ Pending(tid1);Claimed(tid1, vrvHp[vretRefs(tid1)].val)), pcf(tid1) = D31 → vhead4 ∈ orl ∧ ps[ps[vhead4].next].deqID ≠ None ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next, pcf(tid1) = D30 → vhead4 ∈ orl ∧ ps[ps[vhead4].next].deqID ≠ None ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ rvowns(addr) = Claimed(tid2, optval.val), pcf(tid1) = D29 → vhead4 ∈ orl ∧ ps[ps[vhead4].next].deqID ≠ None ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ rvowns(addr) = Claimed(tid2, optval.val), pcf(tid1) = D28 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID = Some(tid2) ∧ rvowns(addr) = Claimed(tid2, optval.val), pcf(tid1) = D27 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID = Some(tid2) ∧ (vhead = vhead4 → rvowns(addr) = Claimed(tid2, optval.val)), pcf(tid1) = D26 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID ≠ None ∧ vs[ps[vhead4].next].deqID = Some(tid2) ∧ optval = Val(vs[ps[vhead4].next].val) ∧ (vhead = vhead4 → rvowns(vretRefs(tid2)) = Claimed(tid2, vs[ps[vhead4].next].val)), pcf(tid1) = D25 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID ≠ None ∧ optval = Val(vs[ps[vhead4].next].val) ∧ (vhead = vhead4 → rvowns(vretRefs((ps ⊕ vs)[ps[vhead4].next].deqID.tid)) = Claimed((ps ⊕ vs)[ps[vhead4].next].deqID.tid, vs[ps[vhead4].next].val)), pcf(tid1) = D24 → ps[ps[vhead4].next].deqID ≠ None ∧ vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = vrvHp[rvref] ∧ vrvHp[rvref] = prvHp[rvref], pcf(tid1) = D23 → ps[ps[vhead4].next].deqID ≠ None ∧ vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = vrvHp[rvref], pcf(tid1) = D22 → ps[ps[vhead4].next].deqID ≠ None ∧ vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next, pcf(tid1) = D21 → ps[vhead4].next ≠ null ∧ vhead4 ∈ orl ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID = Some(tid1) ∧ (ps[ps[vhead4].next].deqID = None → vhead = vhead4) ∧ noid(tid1, orl + qrl, ps[vhead4].next, vs) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid1) → vhead = vhead4), pcf(tid1) = D20 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = Val(vs[ps[vhead4].next].val) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid1) → vhead = vhead4 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs[ps[vhead4].next].deqID = Some(tid1) ∧ rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val) ∧ (ps[ps[vhead4].next].deqID = None → vhead = vhead4) ∧ noid(tid1, orl + qrl, ps[vhead4].next, vs) ;vs[ps[vhead4].next].deqID ≠ None ∧ noid(tid1, orl + qrl, vhead4, vs) ∧ rvowns(vretRefs(tid1)) = Pending(tid1) ), pcf(tid1) = D19 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = Val(vs[ps[vhead4].next].val), pcf(tid1) = D18 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next, pcf(tid1) = D17 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = ps[vhead2].next ∧ ps[vhead2].next = vs[vhead2].next ∧ ps[vhead2].next ≠ null, pcf(tid1) = D16 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = vs[vhead2].next ∧ vs[vhead2].next ≠ null, pcf(tid1) = D15 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vrvHp[rvref] = Empty ∧ prvHp[rvref] = Empty, pcf(tid1) = D14 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vrvHp[rvref] = Empty ∧ vhead3 = null, pcf(tid1) = D13 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = null, pcf(tid1) = D12 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead2].next), pcf(tid1) = D11 → vhead0 ∈ orl + qrl from vhead2 ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead4].next) ∧ (vhead4 ≠ vhead2 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next), pcf(tid1) = D10 → vhead0 ∈ orl + qrl from vhead2 ∧ (vhead3 ≠ null → vhead3 = vs[vhead4].next) ∧ (vhead4 ≠ vhead2 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next), pcf(tid1) = D9 → vhead0 ∈ orl + qrl from vhead2, pcf(tid1) = D8 → vhead0 ∈ orl + qrl from vhead4, pcf(tid1) = D6 → (obsEmpty → optval = vrvHp[rvref] ∧ vrvHp[rvref] = prvHp[rvref]) ∧ rvowns(vretRefs(tid1)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid1);Claimed(tid1, optval.val)), pcf(tid1) = D5 → rvowns(vretRefs(tid1)) = Pending(tid1), pcf(tid1) = D4 → vretRefs(tid1) = rvref ∧ rvowns(vretRefs(tid1)) = Pending(tid1) ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ∈ prvHp ∧ vretRefs(tid1) ≠ null, pcf(tid1) = D3 → rvowns(rvref) = Pending(tid1) ∧ rvref ∈ vrvHp ∧ rvref ∈ prvHp ∧ rvref ≠ null, ∀ 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), pcf(tid) = E11 ∧ tid1 = tid ∧ ps[vhead2].next ≠ vs[vhead2].next ∨ (pcf(tid1) = D16 ∨ pcf(tid1) = E14) ∧ owns(vhead3).tid = tid ∧ vhead2 = (orl + qrl).last ⊦
Used simplifier rules: ⊦ 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) .prvHp = vrvHp0; (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) .tid = tid; (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) .optval = optval; (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) .first = node2; (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) .vtail = phead1; (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) ⊦ 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) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ Val(val).val = val; (s) ⊦ 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) .addr = rvref0; (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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s)
| vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), orl ≠ [], 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), pcf(tid1) = E4 → (obsEmpty ⊃ noowns(tid1, owns);oneowns(tid1, vhead1, owns, vs, ps)), pcf(tid1) = E11 → (ps[vhead2].next ≠ vs[vhead2].next ⊃ oneweakowns(tid1, vhead1, owns, vs, ps);noowns(tid1, owns)), pcf(tid1) = E10 → (obsEmpty ⊃ (ps[vhead2].next ≠ vs[vhead2].next ⊃ oneweakowns(tid1, vhead1, owns, vs, ps);noowns(tid1, owns));oneowns(tid1, vhead1, owns, vs, ps)), pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → oneowns(tid1, vhead1, owns, vs, ps), pcf(tid1) = crashed ∨ pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = D34 ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E17 → noowns(tid1, owns), pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 → noid(tid1, orl + qrl, vhead3, vs), pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 → noid(tid1, orl + qrl, vhead4, vs), pcf(tid1) = crashed ∨ pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 ∨ pcf(tid1) = E17 ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = D34 → noid(tid1, orl + qrl, vhead, vs), pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 → vhead ≠ vhead4 → nextnottid(tid1, vhead, vs), pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 ∨ pcf(tid1) = E17 ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = D34 → nextnottid(tid1, vhead, vs), pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 → addr ∈ vrvHp ∧ addr ≠ null ∧ optval = Val(vs[vhead3].val), pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 → obsEmpty ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ≠ null ∧ rvowns(vretRefs(tid1)) = Claimed(tid1, vs[vhead3].val) ∧ optval = Val(vs[vhead3].val), pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 → vretRefs(tid1) = rvref ∧ pretRefs(tid1) = vretRefs(tid1) ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ≠ null, pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 → vhead2 ∈ orl + qrl from vhead4, pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 → vhead4 ≠ vhead2 ∧ vhead0 ∈ orl + qrl from vhead2, pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 → vhead4 ∈ orl ∧ vhead ∈ orl from vhead4, pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → ¬ obsEmpty, pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 → ¬ obsEmpty ∧ rvowns(vretRefs(tid1)) = Pending(tid1), pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 → ¬ obsEmpty ∧ rvowns(vretRefs(tid1)) = Pending(tid1), pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → ps[vhead1] = vs[vhead1], pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → vs[vhead1] = mk(val, None, null), pcf(tid1) = E4 ∨ pcf(tid1) = E10 → ¬ obsEmpty → ¬ vhead1 ∈ orl ∧ ¬ vhead1 ∈ qrl ∧ vhead1 ≠ null ∧ vhead1 ∈ ps ∧ vhead1 ∈ vs ∧ owns(vhead1) = Some(tid1) ∧ vs[vhead1] = mk(val, None, null) ∧ ps[vhead1] = vs[vhead1], pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → vhead1 ∈ ps ∧ vhead1 ∈ vs ∧ vhead1 ≠ null ∧ ¬ vhead1 ∈ orl ∧ ¬ vhead1 ∈ qrl, pcf(tid1) = E16 → owns(vhead1) = Some(tid1), pcf(tid1) = E15 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = vs[vhead2].next ∧ vs[vhead2].next = ps[vhead2].next ∧ vs[vhead2].next ≠ null, pcf(tid1) = E14 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = vs[vhead2].next ∧ vs[vhead2].next ≠ null, pcf(tid1) = E13 → owns(vhead1) = Some(tid1), pcf(tid1) = E12 → obsEmpty ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vs[vhead2].next ∈ orl ∨ vs[vhead2].next ∈ qrl) ∧ vs[vhead2].next = vhead1 ∧ ps[vhead2].next = vs[vhead2].next ∧ vs[vhead2].next ∈ ps ∧ vs[vhead2].next ∈ vs ∧ vs[vhead2].next ≠ null, pcf(tid1) = E11 → obsEmpty ∧ vs[vhead2].next = vhead1 ∧ vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].val = val ∧ (vhead2 = vhead0 ∧ ps[vhead0].next = null ∧ owns(vs[vhead0].next) = Weak(tid1) ∨ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ ps[vhead2].next = vs[vhead2].next), pcf(tid1) = E10 → obsEmpty → vs[vhead2].next = vhead1 ∧ vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].val = val ∧ (vhead2 = vhead0 ∧ ps[vhead0].next = null ∧ owns(vs[vhead0].next) = Weak(tid1) ∨ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ ps[vhead2].next = vs[vhead2].next), pcf(tid1) = E9 → owns(vhead1) = Some(tid1) ∧ vhead3 = null ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vs[vhead2].next = null → vhead0 = vhead2), pcf(tid1) = E8 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead2].next) ∧ (vs[vhead2].next = null → vhead0 = vhead2), pcf(tid1) = E7 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead2].next) ∧ (vs[vhead2].next = null → vhead0 = vhead2), pcf(tid1) = E6 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (ps[vhead2].next = null → vhead2 = vhead0), pcf(tid1) = E5 → owns(vhead1) = Some(tid1), pcf(tid1) = E3 → owns(vhead1) = Some(tid1), pcf(tid1) = E2 → owns(vhead1) = Some(tid1), pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)] ∧ vrvHp[vretRefs(tid1)] = prvHp[pretRefs(tid1)] ∧ vretRefs(tid1) = pretRefs(tid1) ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ≠ null ∧ rvowns(vretRefs(tid1)) = (vrvHp[vretRefs(tid1)] = Empty ⊃ Pending(tid1);Claimed(tid1, vrvHp[vretRefs(tid1)].val)), pcf(tid1) = D31 → vhead4 ∈ orl ∧ ps[ps[vhead4].next].deqID ≠ None ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next, pcf(tid1) = D30 → vhead4 ∈ orl ∧ ps[ps[vhead4].next].deqID ≠ None ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ rvowns(addr) = Claimed(tid2, optval.val), pcf(tid1) = D29 → vhead4 ∈ orl ∧ ps[ps[vhead4].next].deqID ≠ None ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ rvowns(addr) = Claimed(tid2, optval.val), pcf(tid1) = D28 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID = Some(tid2) ∧ rvowns(addr) = Claimed(tid2, optval.val), pcf(tid1) = D27 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID = Some(tid2) ∧ (vhead = vhead4 → rvowns(addr) = Claimed(tid2, optval.val)), pcf(tid1) = D26 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID ≠ None ∧ vs[ps[vhead4].next].deqID = Some(tid2) ∧ optval = Val(vs[ps[vhead4].next].val) ∧ (vhead = vhead4 → rvowns(vretRefs(tid2)) = Claimed(tid2, vs[ps[vhead4].next].val)), pcf(tid1) = D25 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID ≠ None ∧ optval = Val(vs[ps[vhead4].next].val) ∧ (vhead = vhead4 → rvowns(vretRefs((ps ⊕ vs)[ps[vhead4].next].deqID.tid)) = Claimed((ps ⊕ vs)[ps[vhead4].next].deqID.tid, vs[ps[vhead4].next].val)), pcf(tid1) = D24 → ps[ps[vhead4].next].deqID ≠ None ∧ vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = vrvHp[rvref] ∧ vrvHp[rvref] = prvHp[rvref], pcf(tid1) = D23 → ps[ps[vhead4].next].deqID ≠ None ∧ vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = vrvHp[rvref], pcf(tid1) = D22 → ps[ps[vhead4].next].deqID ≠ None ∧ vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next, pcf(tid1) = D21 → ps[vhead4].next ≠ null ∧ vhead4 ∈ orl ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID = Some(tid1) ∧ (ps[ps[vhead4].next].deqID = None → vhead = vhead4) ∧ noid(tid1, orl + qrl, ps[vhead4].next, vs) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid1) → vhead = vhead4), pcf(tid1) = D20 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = Val(vs[ps[vhead4].next].val) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid1) → vhead = vhead4 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs[ps[vhead4].next].deqID = Some(tid1) ∧ rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val) ∧ (ps[ps[vhead4].next].deqID = None → vhead = vhead4) ∧ noid(tid1, orl + qrl, ps[vhead4].next, vs) ;vs[ps[vhead4].next].deqID ≠ None ∧ noid(tid1, orl + qrl, vhead4, vs) ∧ rvowns(vretRefs(tid1)) = Pending(tid1) ), pcf(tid1) = D19 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = Val(vs[ps[vhead4].next].val), pcf(tid1) = D18 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next, pcf(tid1) = D17 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = ps[vhead2].next ∧ ps[vhead2].next = vs[vhead2].next ∧ ps[vhead2].next ≠ null, pcf(tid1) = D16 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = vs[vhead2].next ∧ vs[vhead2].next ≠ null, pcf(tid1) = D15 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vrvHp[rvref] = Empty ∧ prvHp[rvref] = Empty, pcf(tid1) = D14 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vrvHp[rvref] = Empty ∧ vhead3 = null, pcf(tid1) = D13 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = null, pcf(tid1) = D12 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead2].next), pcf(tid1) = D11 → vhead0 ∈ orl + qrl from vhead2 ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead4].next) ∧ (vhead4 ≠ vhead2 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next), pcf(tid1) = D10 → vhead0 ∈ orl + qrl from vhead2 ∧ (vhead3 ≠ null → vhead3 = vs[vhead4].next) ∧ (vhead4 ≠ vhead2 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next), pcf(tid1) = D9 → vhead0 ∈ orl + qrl from vhead2, pcf(tid1) = D8 → vhead0 ∈ orl + qrl from vhead4, pcf(tid1) = D6 → (obsEmpty → optval = vrvHp[rvref] ∧ vrvHp[rvref] = prvHp[rvref]) ∧ rvowns(vretRefs(tid1)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid1);Claimed(tid1, optval.val)), pcf(tid1) = D5 → rvowns(vretRefs(tid1)) = Pending(tid1), pcf(tid1) = D4 → vretRefs(tid1) = rvref ∧ rvowns(vretRefs(tid1)) = Pending(tid1) ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ∈ prvHp ∧ vretRefs(tid1) ≠ null, pcf(tid1) = D3 → rvowns(rvref) = Pending(tid1) ∧ rvref ∈ vrvHp ∧ rvref ∈ prvHp ∧ rvref ≠ null, ∀ 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), pcf(tid) = E11 ∧ tid1 = tid ∧ ps[vhead2].next ≠ vs[vhead2].next ∨ (pcf(tid1) = D16 ∨ pcf(tid1) = E14) ∧ owns(vhead3).tid = tid ∧ vhead2 = (orl + qrl).last ⊦ |
vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid) = E11, tid1 = tid, ps[vhead2].next ≠ vs[vhead2].next, orl ≠ [], 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), pcf(tid1) = D3 → rvowns(rvref) = Pending(tid1) ∧ rvref ∈ vrvHp ∧ rvref ∈ prvHp ∧ rvref ≠ null, pcf(tid1) = D4 → vretRefs(tid1) = rvref ∧ rvowns(vretRefs(tid1)) = Pending(tid1) ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ∈ prvHp ∧ vretRefs(tid1) ≠ null, pcf(tid1) = D5 → rvowns(vretRefs(tid1)) = Pending(tid1), pcf(tid1) = D6 → (obsEmpty → optval = vrvHp[rvref] ∧ vrvHp[rvref] = prvHp[rvref]) ∧ rvowns(vretRefs(tid1)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid1);Claimed(tid1, optval.val)), pcf(tid1) = D8 → vhead0 ∈ orl + qrl from vhead4, pcf(tid1) = D9 → vhead0 ∈ orl + qrl from vhead2, pcf(tid1) = D10 → vhead0 ∈ orl + qrl from vhead2 ∧ (vhead3 ≠ null → vhead3 = vs[vhead4].next) ∧ (vhead4 ≠ vhead2 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next), pcf(tid1) = D11 → vhead0 ∈ orl + qrl from vhead2 ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead4].next) ∧ (vhead4 ≠ vhead2 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next), pcf(tid1) = D12 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead2].next), pcf(tid1) = D13 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = null, pcf(tid1) = D14 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vrvHp[rvref] = Empty ∧ vhead3 = null, pcf(tid1) = D15 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vrvHp[rvref] = Empty ∧ prvHp[rvref] = Empty, pcf(tid1) = D16 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = vs[vhead2].next ∧ vs[vhead2].next ≠ null, pcf(tid1) = D17 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = ps[vhead2].next ∧ ps[vhead2].next = vs[vhead2].next ∧ ps[vhead2].next ≠ null, pcf(tid1) = D18 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next, pcf(tid1) = D19 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = Val(vs[ps[vhead4].next].val), pcf(tid1) = D20 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = Val(vs[ps[vhead4].next].val) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid1) → vhead = vhead4 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs[ps[vhead4].next].deqID = Some(tid1) ∧ rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val) ∧ (ps[ps[vhead4].next].deqID = None → vhead = vhead4) ∧ noid(tid1, orl + qrl, ps[vhead4].next, vs) ;vs[ps[vhead4].next].deqID ≠ None ∧ noid(tid1, orl + qrl, vhead4, vs) ∧ rvowns(vretRefs(tid1)) = Pending(tid1) ), pcf(tid1) = D21 → ps[vhead4].next ≠ null ∧ vhead4 ∈ orl ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID = Some(tid1) ∧ (ps[ps[vhead4].next].deqID = None → vhead = vhead4) ∧ noid(tid1, orl + qrl, ps[vhead4].next, vs) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid1) → vhead = vhead4), pcf(tid1) = D22 → ps[ps[vhead4].next].deqID ≠ None ∧ vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next, pcf(tid1) = D23 → ps[ps[vhead4].next].deqID ≠ None ∧ vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = vrvHp[rvref], pcf(tid1) = D24 → ps[ps[vhead4].next].deqID ≠ None ∧ vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = vrvHp[rvref] ∧ vrvHp[rvref] = prvHp[rvref], pcf(tid1) = D25 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID ≠ None ∧ optval = Val(vs[ps[vhead4].next].val) ∧ (vhead = vhead4 → rvowns(vretRefs((ps ⊕ vs)[ps[vhead4].next].deqID.tid)) = Claimed((ps ⊕ vs)[ps[vhead4].next].deqID.tid, vs[ps[vhead4].next].val)), pcf(tid1) = D26 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID ≠ None ∧ vs[ps[vhead4].next].deqID = Some(tid2) ∧ optval = Val(vs[ps[vhead4].next].val) ∧ (vhead = vhead4 → rvowns(vretRefs(tid2)) = Claimed(tid2, vs[ps[vhead4].next].val)), pcf(tid1) = D27 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID = Some(tid2) ∧ (vhead = vhead4 → rvowns(addr) = Claimed(tid2, optval.val)), pcf(tid1) = D28 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID = Some(tid2) ∧ rvowns(addr) = Claimed(tid2, optval.val), pcf(tid1) = D29 → vhead4 ∈ orl ∧ ps[ps[vhead4].next].deqID ≠ None ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ rvowns(addr) = Claimed(tid2, optval.val), pcf(tid1) = D30 → vhead4 ∈ orl ∧ ps[ps[vhead4].next].deqID ≠ None ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ rvowns(addr) = Claimed(tid2, optval.val), pcf(tid1) = D31 → vhead4 ∈ orl ∧ ps[ps[vhead4].next].deqID ≠ None ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next, pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)] ∧ vrvHp[vretRefs(tid1)] = prvHp[pretRefs(tid1)] ∧ vretRefs(tid1) = pretRefs(tid1) ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ≠ null ∧ rvowns(vretRefs(tid1)) = (vrvHp[vretRefs(tid1)] = Empty ⊃ Pending(tid1);Claimed(tid1, vrvHp[vretRefs(tid1)].val)), pcf(tid1) = E2 → owns(vhead1) = Some(tid1), pcf(tid1) = E3 → owns(vhead1) = Some(tid1), pcf(tid1) = E5 → owns(vhead1) = Some(tid1), pcf(tid1) = E6 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (ps[vhead2].next = null → vhead2 = vhead0), pcf(tid1) = E7 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead2].next) ∧ (vs[vhead2].next = null → vhead0 = vhead2), pcf(tid1) = E8 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead2].next) ∧ (vs[vhead2].next = null → vhead0 = vhead2), pcf(tid1) = E9 → owns(vhead1) = Some(tid1) ∧ vhead3 = null ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vs[vhead2].next = null → vhead0 = vhead2), pcf(tid1) = E10 → obsEmpty → vs[vhead2].next = vhead1 ∧ vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].val = val ∧ (vhead2 = vhead0 ∧ ps[vhead0].next = null ∧ owns(vs[vhead0].next) = Weak(tid1) ∨ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ ps[vhead2].next = vs[vhead2].next), pcf(tid1) = E11 → obsEmpty ∧ vs[vhead2].next = vhead1 ∧ vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].val = val ∧ (vhead2 = vhead0 ∧ ps[vhead0].next = null ∧ owns(vs[vhead0].next) = Weak(tid1) ∨ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ ps[vhead2].next = vs[vhead2].next), pcf(tid1) = E12 → obsEmpty ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vs[vhead2].next ∈ orl ∨ vs[vhead2].next ∈ qrl) ∧ vs[vhead2].next = vhead1 ∧ ps[vhead2].next = vs[vhead2].next ∧ vs[vhead2].next ∈ ps ∧ vs[vhead2].next ∈ vs ∧ vs[vhead2].next ≠ null, pcf(tid1) = E13 → owns(vhead1) = Some(tid1), pcf(tid1) = E14 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = vs[vhead2].next ∧ vs[vhead2].next ≠ null, pcf(tid1) = E15 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = vs[vhead2].next ∧ vs[vhead2].next = ps[vhead2].next ∧ vs[vhead2].next ≠ null, pcf(tid1) = E16 → owns(vhead1) = Some(tid1), pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → vhead1 ∈ ps ∧ vhead1 ∈ vs ∧ vhead1 ≠ null ∧ ¬ vhead1 ∈ orl ∧ ¬ vhead1 ∈ qrl, pcf(tid1) = E4 ∨ pcf(tid1) = E10 → ¬ obsEmpty → ¬ vhead1 ∈ orl ∧ ¬ vhead1 ∈ qrl ∧ vhead1 ≠ null ∧ vhead1 ∈ ps ∧ vhead1 ∈ vs ∧ owns(vhead1) = Some(tid1) ∧ vs[vhead1] = mk(val, None, null) ∧ ps[vhead1] = vs[vhead1], pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → vs[vhead1] = mk(val, None, null), pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → ps[vhead1] = vs[vhead1], pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 → ¬ obsEmpty ∧ rvowns(vretRefs(tid1)) = Pending(tid1), pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 → ¬ obsEmpty ∧ rvowns(vretRefs(tid1)) = Pending(tid1), pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → ¬ obsEmpty, pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 → vhead4 ∈ orl ∧ vhead ∈ orl from vhead4, pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 → vhead4 ≠ vhead2 ∧ vhead0 ∈ orl + qrl from vhead2, pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 → vhead2 ∈ orl + qrl from vhead4, pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 → vretRefs(tid1) = rvref ∧ pretRefs(tid1) = vretRefs(tid1) ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ≠ null, pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 → obsEmpty ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ≠ null ∧ rvowns(vretRefs(tid1)) = Claimed(tid1, vs[vhead3].val) ∧ optval = Val(vs[vhead3].val), pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 → addr ∈ vrvHp ∧ addr ≠ null ∧ optval = Val(vs[vhead3].val), pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 ∨ pcf(tid1) = E17 ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = D34 → nextnottid(tid1, vhead, vs), pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 → vhead ≠ vhead4 → nextnottid(tid1, vhead, vs), pcf(tid1) = crashed ∨ pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 ∨ pcf(tid1) = E17 ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = D34 → noid(tid1, orl + qrl, vhead, vs), pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 → noid(tid1, orl + qrl, vhead4, vs), pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 → noid(tid1, orl + qrl, vhead3, vs), pcf(tid1) = crashed ∨ pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = D34 ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E17 → noowns(tid1, owns), pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → oneowns(tid1, vhead1, owns, vs, ps), pcf(tid1) = E10 → (obsEmpty ⊃ (ps[vhead2].next ≠ vs[vhead2].next ⊃ oneweakowns(tid1, vhead1, owns, vs, ps);noowns(tid1, owns));oneowns(tid1, vhead1, owns, vs, ps)), pcf(tid1) = E11 → (ps[vhead2].next ≠ vs[vhead2].next ⊃ oneweakowns(tid1, vhead1, owns, vs, ps);noowns(tid1, owns)), pcf(tid1) = E4 → (obsEmpty ⊃ noowns(tid1, owns);oneowns(tid1, vhead1, owns, vs, ps)), 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 ⊦
Used simplifier rules: ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ x + y = [] ↔ x = [] ∧ y = []; (as) 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)
| vs[(orl + qrl).last].next = null, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid) = E11, tid1 = tid, ps[vhead2].next ≠ vs[vhead2].next, orl ≠ [], 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), pcf(tid1) = D3 → rvowns(rvref) = Pending(tid1) ∧ rvref ∈ vrvHp ∧ rvref ∈ prvHp ∧ rvref ≠ null, pcf(tid1) = D4 → vretRefs(tid1) = rvref ∧ rvowns(vretRefs(tid1)) = Pending(tid1) ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ∈ prvHp ∧ vretRefs(tid1) ≠ null, pcf(tid1) = D5 → rvowns(vretRefs(tid1)) = Pending(tid1), pcf(tid1) = D6 → (obsEmpty → optval = vrvHp[rvref] ∧ vrvHp[rvref] = prvHp[rvref]) ∧ rvowns(vretRefs(tid1)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid1);Claimed(tid1, optval.val)), pcf(tid1) = D8 → vhead0 ∈ orl + qrl from vhead4, pcf(tid1) = D9 → vhead0 ∈ orl + qrl from vhead2, pcf(tid1) = D10 → vhead0 ∈ orl + qrl from vhead2 ∧ (vhead3 ≠ null → vhead3 = vs[vhead4].next) ∧ (vhead4 ≠ vhead2 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next), pcf(tid1) = D11 → vhead0 ∈ orl + qrl from vhead2 ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead4].next) ∧ (vhead4 ≠ vhead2 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next), pcf(tid1) = D12 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead2].next), pcf(tid1) = D13 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = null, pcf(tid1) = D14 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vrvHp[rvref] = Empty ∧ vhead3 = null, pcf(tid1) = D15 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vrvHp[rvref] = Empty ∧ prvHp[rvref] = Empty, pcf(tid1) = D16 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = vs[vhead2].next ∧ vs[vhead2].next ≠ null, pcf(tid1) = D17 → (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = ps[vhead2].next ∧ ps[vhead2].next = vs[vhead2].next ∧ ps[vhead2].next ≠ null, pcf(tid1) = D18 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next, pcf(tid1) = D19 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = Val(vs[ps[vhead4].next].val), pcf(tid1) = D20 → ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = Val(vs[ps[vhead4].next].val) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid1) → vhead = vhead4 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs[ps[vhead4].next].deqID = Some(tid1) ∧ rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val) ∧ (ps[ps[vhead4].next].deqID = None → vhead = vhead4) ∧ noid(tid1, orl + qrl, ps[vhead4].next, vs) ;vs[ps[vhead4].next].deqID ≠ None ∧ noid(tid1, orl + qrl, vhead4, vs) ∧ rvowns(vretRefs(tid1)) = Pending(tid1) ), pcf(tid1) = D21 → ps[vhead4].next ≠ null ∧ vhead4 ∈ orl ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID = Some(tid1) ∧ (ps[ps[vhead4].next].deqID = None → vhead = vhead4) ∧ noid(tid1, orl + qrl, ps[vhead4].next, vs) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid1) → vhead = vhead4), pcf(tid1) = D22 → ps[ps[vhead4].next].deqID ≠ None ∧ vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next, pcf(tid1) = D23 → ps[ps[vhead4].next].deqID ≠ None ∧ vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = vrvHp[rvref], pcf(tid1) = D24 → ps[ps[vhead4].next].deqID ≠ None ∧ vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ optval = vrvHp[rvref] ∧ vrvHp[rvref] = prvHp[rvref], pcf(tid1) = D25 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID ≠ None ∧ optval = Val(vs[ps[vhead4].next].val) ∧ (vhead = vhead4 → rvowns(vretRefs((ps ⊕ vs)[ps[vhead4].next].deqID.tid)) = Claimed((ps ⊕ vs)[ps[vhead4].next].deqID.tid, vs[ps[vhead4].next].val)), pcf(tid1) = D26 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID ≠ None ∧ vs[ps[vhead4].next].deqID = Some(tid2) ∧ optval = Val(vs[ps[vhead4].next].val) ∧ (vhead = vhead4 → rvowns(vretRefs(tid2)) = Claimed(tid2, vs[ps[vhead4].next].val)), pcf(tid1) = D27 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID = Some(tid2) ∧ (vhead = vhead4 → rvowns(addr) = Claimed(tid2, optval.val)), pcf(tid1) = D28 → vhead4 ∈ orl ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ vs[ps[vhead4].next].deqID = Some(tid2) ∧ rvowns(addr) = Claimed(tid2, optval.val), pcf(tid1) = D29 → vhead4 ∈ orl ∧ ps[ps[vhead4].next].deqID ≠ None ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ rvowns(addr) = Claimed(tid2, optval.val), pcf(tid1) = D30 → vhead4 ∈ orl ∧ ps[ps[vhead4].next].deqID ≠ None ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next ∧ rvowns(addr) = Claimed(tid2, optval.val), pcf(tid1) = D31 → vhead4 ∈ orl ∧ ps[ps[vhead4].next].deqID ≠ None ∧ ps[vhead4].next ≠ null ∧ vhead3 = ps[vhead4].next, pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)] ∧ vrvHp[vretRefs(tid1)] = prvHp[pretRefs(tid1)] ∧ vretRefs(tid1) = pretRefs(tid1) ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ≠ null ∧ rvowns(vretRefs(tid1)) = (vrvHp[vretRefs(tid1)] = Empty ⊃ Pending(tid1);Claimed(tid1, vrvHp[vretRefs(tid1)].val)), pcf(tid1) = E2 → owns(vhead1) = Some(tid1), pcf(tid1) = E3 → owns(vhead1) = Some(tid1), pcf(tid1) = E5 → owns(vhead1) = Some(tid1), pcf(tid1) = E6 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (ps[vhead2].next = null → vhead2 = vhead0), pcf(tid1) = E7 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead2].next) ∧ (vs[vhead2].next = null → vhead0 = vhead2), pcf(tid1) = E8 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vhead3 ≠ null → vhead3 = vs[vhead2].next) ∧ (vs[vhead2].next = null → vhead0 = vhead2), pcf(tid1) = E9 → owns(vhead1) = Some(tid1) ∧ vhead3 = null ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vs[vhead2].next = null → vhead0 = vhead2), pcf(tid1) = E10 → obsEmpty → vs[vhead2].next = vhead1 ∧ vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].val = val ∧ (vhead2 = vhead0 ∧ ps[vhead0].next = null ∧ owns(vs[vhead0].next) = Weak(tid1) ∨ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ ps[vhead2].next = vs[vhead2].next), pcf(tid1) = E11 → obsEmpty ∧ vs[vhead2].next = vhead1 ∧ vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].val = val ∧ (vhead2 = vhead0 ∧ ps[vhead0].next = null ∧ owns(vs[vhead0].next) = Weak(tid1) ∨ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ ps[vhead2].next = vs[vhead2].next), pcf(tid1) = E12 → obsEmpty ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ (vs[vhead2].next ∈ orl ∨ vs[vhead2].next ∈ qrl) ∧ vs[vhead2].next = vhead1 ∧ ps[vhead2].next = vs[vhead2].next ∧ vs[vhead2].next ∈ ps ∧ vs[vhead2].next ∈ vs ∧ vs[vhead2].next ≠ null, pcf(tid1) = E13 → owns(vhead1) = Some(tid1), pcf(tid1) = E14 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = vs[vhead2].next ∧ vs[vhead2].next ≠ null, pcf(tid1) = E15 → owns(vhead1) = Some(tid1) ∧ (vhead2 ∈ orl ∨ vhead2 ∈ qrl) ∧ vhead3 = vs[vhead2].next ∧ vs[vhead2].next = ps[vhead2].next ∧ vs[vhead2].next ≠ null, pcf(tid1) = E16 → owns(vhead1) = Some(tid1), pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → vhead1 ∈ ps ∧ vhead1 ∈ vs ∧ vhead1 ≠ null ∧ ¬ vhead1 ∈ orl ∧ ¬ vhead1 ∈ qrl, pcf(tid1) = E4 ∨ pcf(tid1) = E10 → ¬ obsEmpty → ¬ vhead1 ∈ orl ∧ ¬ vhead1 ∈ qrl ∧ vhead1 ≠ null ∧ vhead1 ∈ ps ∧ vhead1 ∈ vs ∧ owns(vhead1) = Some(tid1) ∧ vs[vhead1] = mk(val, None, null) ∧ ps[vhead1] = vs[vhead1], pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → vs[vhead1] = mk(val, None, null), pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → ps[vhead1] = vs[vhead1], pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 → ¬ obsEmpty ∧ rvowns(vretRefs(tid1)) = Pending(tid1), pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 → ¬ obsEmpty ∧ rvowns(vretRefs(tid1)) = Pending(tid1), pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → ¬ obsEmpty, pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 → vhead4 ∈ orl ∧ vhead ∈ orl from vhead4, pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 → vhead4 ≠ vhead2 ∧ vhead0 ∈ orl + qrl from vhead2, pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 → vhead2 ∈ orl + qrl from vhead4, pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 → vretRefs(tid1) = rvref ∧ pretRefs(tid1) = vretRefs(tid1) ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ≠ null, pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 → obsEmpty ∧ vretRefs(tid1) ∈ vrvHp ∧ vretRefs(tid1) ≠ null ∧ rvowns(vretRefs(tid1)) = Claimed(tid1, vs[vhead3].val) ∧ optval = Val(vs[vhead3].val), pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 → addr ∈ vrvHp ∧ addr ≠ null ∧ optval = Val(vs[vhead3].val), pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 ∨ pcf(tid1) = E17 ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = D34 → nextnottid(tid1, vhead, vs), pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 → vhead ≠ vhead4 → nextnottid(tid1, vhead, vs), pcf(tid1) = crashed ∨ pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 ∨ pcf(tid1) = E17 ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = D34 → noid(tid1, orl + qrl, vhead, vs), pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 → noid(tid1, orl + qrl, vhead4, vs), pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 → noid(tid1, orl + qrl, vhead3, vs), pcf(tid1) = crashed ∨ pcf(tid1) = idle ∨ pcf(tid1) = ready ∨ pcf(tid1) = D1 ∨ pcf(tid1) = D2 ∨ pcf(tid1) = D3 ∨ pcf(tid1) = D4 ∨ pcf(tid1) = D5 ∨ pcf(tid1) = D6 ∨ pcf(tid1) = D7 ∨ pcf(tid1) = D8 ∨ pcf(tid1) = D9 ∨ pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14 ∨ pcf(tid1) = D15 ∨ pcf(tid1) = D16 ∨ pcf(tid1) = D17 ∨ pcf(tid1) = D18 ∨ pcf(tid1) = D19 ∨ pcf(tid1) = D20 ∨ pcf(tid1) = D21 ∨ pcf(tid1) = D22 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D25 ∨ pcf(tid1) = D26 ∨ pcf(tid1) = D27 ∨ pcf(tid1) = D28 ∨ pcf(tid1) = D29 ∨ pcf(tid1) = D30 ∨ pcf(tid1) = D31 ∨ pcf(tid1) = D32 ∨ pcf(tid1) = D33 ∨ pcf(tid1) = D34 ∨ pcf(tid1) = E1 ∨ pcf(tid1) = E12 ∨ pcf(tid1) = E17 → noowns(tid1, owns), pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → oneowns(tid1, vhead1, owns, vs, ps), pcf(tid1) = E10 → (obsEmpty ⊃ (ps[vhead2].next ≠ vs[vhead2].next ⊃ oneweakowns(tid1, vhead1, owns, vs, ps);noowns(tid1, owns));oneowns(tid1, vhead1, owns, vs, ps)), pcf(tid1) = E11 → (ps[vhead2].next ≠ vs[vhead2].next ⊃ oneweakowns(tid1, vhead1, owns, vs, ps);noowns(tid1, owns)), pcf(tid1) = E4 → (obsEmpty ⊃ noowns(tid1, owns);oneowns(tid1, vhead1, owns, vs, ps)), 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 ⊦ |
vs[qrl.last].deqID = None, ps[(orl + qrl.butlast).last].next = null, vs[qrl.last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + qrl.butlast).last].next].val, optval, vs[(orl + qrl.butlast).last].next, nd, true, (orl + qrl.butlast).last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(orl + qrl.butlast).last].next) = Weak(tid), pcf(tid) = E11, vs[(orl + qrl.butlast).last].next ≠ null, orl ≠ [], qrl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + qrl.butlast).last].next, owns, vs, ps), 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, (orl + qrl.butlast).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl.tail, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ E10 ≠ E11; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E12; (s) ⊦ D17 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ ready; (s) ⊦ D1 ≠ E11; (s) ⊦ D2 ≠ E11; (s) ⊦ D3 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D5 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D7 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ E1 ≠ E11; (s) ⊦ E11 ≠ E17; (s) ⊦ E2 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E16; (s) ⊦ owns(r) = Weak(tid) → ¬ noowns(tid, owns); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ y ≠ [] → (x + y).last = y.last; (s)
| vs[qrl.last].deqID = None, ps[(orl + qrl.butlast).last].next = null, vs[qrl.last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + qrl.butlast).last].next].val, optval, vs[(orl + qrl.butlast).last].next, nd, true, (orl + qrl.butlast).last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(orl + qrl.butlast).last].next) = Weak(tid), pcf(tid) = E11, vs[(orl + qrl.butlast).last].next ≠ null, orl ≠ [], qrl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + qrl.butlast).last].next, owns, vs, ps), 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, (orl + qrl.butlast).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl.tail, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[qrl.last].deqID = None, vs[qrl.last].next = null, ps[(orl + qrl.butlast).last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + qrl.butlast).last].next].val, optval, vs[(orl + qrl.butlast).last].next, nd, true, (orl + qrl.butlast).last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(orl + qrl.butlast).last].next) = Weak(tid), pcf(tid) = E11, qrl = phead0 + orl0, vs[(orl + qrl.butlast).last].next ≠ null, orl ≠ [], qrl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + qrl.butlast).last].next, owns, vs, ps), 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, (orl + qrl.butlast).last, 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) ⊦
Used simplifier rules: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: qrl, head, orl0
| vs[qrl.last].deqID = None, vs[qrl.last].next = null, ps[(orl + qrl.butlast).last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + qrl.butlast).last].next].val, optval, vs[(orl + qrl.butlast).last].next, nd, true, (orl + qrl.butlast).last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(orl + qrl.butlast).last].next) = Weak(tid), pcf(tid) = E11, qrl = phead0 + orl0, vs[(orl + qrl.butlast).last].next ≠ null, orl ≠ [], qrl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + qrl.butlast).last].next, owns, vs, ps), 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, (orl + qrl.butlast).last, 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) ⊦ |
vs[(phead0 ' + orl0).last].deqID = None, ps[phead0].deqID = None, ps[(orl + (phead0 ' + orl0).butlast).last].next = null, vs[(phead0 ' + orl0).last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + (phead0 ' + orl0).butlast).last].next].val, optval, vs[(orl + (phead0 ' + orl0).butlast).last].next, nd, true, (orl + (phead0 ' + orl0).butlast).last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(orl + (phead0 ' + orl0).butlast).last].next) = Weak(tid), pcf(tid) = E11, vs[(orl + (phead0 ' + orl0).butlast).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid, vhead, vs), noid(tid, orl + phead0 ' + orl0, vhead, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + (phead0 ' + orl0).butlast).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, 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, (orl + (phead0 ' + orl0).butlast).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].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(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a ' + x ≠ []; (s)
| vs[(phead0 ' + orl0).last].deqID = None, ps[phead0].deqID = None, ps[(orl + (phead0 ' + orl0).butlast).last].next = null, vs[(phead0 ' + orl0).last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + (phead0 ' + orl0).butlast).last].next].val, optval, vs[(orl + (phead0 ' + orl0).butlast).last].next, nd, true, (orl + (phead0 ' + orl0).butlast).last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(orl + (phead0 ' + orl0).butlast).last].next) = Weak(tid), pcf(tid) = E11, vs[(orl + (phead0 ' + orl0).butlast).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid, vhead, vs), noid(tid, orl + phead0 ' + orl0, vhead, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + (phead0 ' + orl0).butlast).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, 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, (orl + (phead0 ' + orl0).butlast).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(orl0, vs) ⊦ |
⊦ listp(rl, vs, ps, owns) ∧ r ∈ rl ∧ r ≠ rl.last → vs[r].next = ps[r].next ∧ vs[r].next ≠ null
ps[phead0].deqID = None, vs[(phead0 ' + orl0).last].deqID = None, vs[(phead0 ' + orl0).last].next = null, ps[(orl + (phead0 ' + orl0).butlast).last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + (phead0 ' + orl0).butlast).last].next].val, optval, vs[(orl + (phead0 ' + orl0).butlast).last].next, nd, true, (orl + (phead0 ' + orl0).butlast).last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(orl + (phead0 ' + orl0).butlast).last].next) = Weak(tid), pcf(tid) = E11, vs[(orl + (phead0 ' + orl0).butlast).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + phead0 ' + orl0, vhead, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + (phead0 ' + orl0).butlast).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, 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 + phead0 ' + orl0, vs, ps, owns) ∧ (orl + (phead0 ' + orl0).butlast).last ∈ orl + phead0 ' + orl0 ∧ (orl + (phead0 ' + orl0).butlast).last ≠ (orl + phead0 ' + orl0).last → vs[(orl + (phead0 ' + orl0).butlast).last].next = ps[(orl + (phead0 ' + orl0).butlast).last].next ∧ vs[(orl + (phead0 ' + orl0).butlast).last].next ≠ null, ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + (phead0 ' + orl0).butlast).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(orl0, vs) ⊦
Used terms: ps, orl + phead0 ' + orl0, owns, (orl + (phead0 ' + orl0).butlast).last, vs
| ⊦ listp(rl, vs, ps, owns) ∧ r ∈ rl ∧ r ≠ rl.last → vs[r].next = ps[r].next ∧ vs[r].next ≠ null |
| ps[phead0].deqID = None, vs[(phead0 ' + orl0).last].deqID = None, vs[(phead0 ' + orl0).last].next = null, ps[(orl + (phead0 ' + orl0).butlast).last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + (phead0 ' + orl0).butlast).last].next].val, optval, vs[(orl + (phead0 ' + orl0).butlast).last].next, nd, true, (orl + (phead0 ' + orl0).butlast).last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(orl + (phead0 ' + orl0).butlast).last].next) = Weak(tid), pcf(tid) = E11, vs[(orl + (phead0 ' + orl0).butlast).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + phead0 ' + orl0, vhead, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + (phead0 ' + orl0).butlast).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, 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 + phead0 ' + orl0, vs, ps, owns) ∧ (orl + (phead0 ' + orl0).butlast).last ∈ orl + phead0 ' + orl0 ∧ (orl + (phead0 ' + orl0).butlast).last ≠ (orl + phead0 ' + orl0).last → vs[(orl + (phead0 ' + orl0).butlast).last].next = ps[(orl + (phead0 ' + orl0).butlast).last].next ∧ vs[(orl + (phead0 ' + orl0).butlast).last].next ≠ null, ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + (phead0 ' + orl0).butlast).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(orl0, vs) ⊦ |
ps[phead0].deqID = None, vs[(phead0 ' + orl0).last].deqID = None, vs[(phead0 ' + orl0).last].next = null, ps[(orl + (phead0 ' + orl0).butlast).last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + (phead0 ' + orl0).butlast).last].next].val, optval, vs[(orl + (phead0 ' + orl0).butlast).last].next, nd, true, (orl + (phead0 ' + orl0).butlast).last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(orl + (phead0 ' + orl0).butlast).last].next) = Weak(tid), pcf(tid) = E11, vs[(orl + (phead0 ' + orl0).butlast).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + phead0 ' + orl0, vhead, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + (phead0 ' + orl0).butlast).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ 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, (orl + (phead0 ' + orl0).butlast).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(orl0, vs) ⊦ ((orl + (phead0 ' + orl0).butlast).last ∈ orl ∨ (orl + (phead0 ' + orl0).butlast).last = phead0 ∨ (orl + (phead0 ' + orl0).butlast).last ∈ orl0) ∧ (orl + (phead0 ' + orl0).butlast).last ≠ (phead0 ' + orl0).last
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s)
| ps[phead0].deqID = None, vs[(phead0 ' + orl0).last].deqID = None, vs[(phead0 ' + orl0).last].next = null, ps[(orl + (phead0 ' + orl0).butlast).last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + (phead0 ' + orl0).butlast).last].next].val, optval, vs[(orl + (phead0 ' + orl0).butlast).last].next, nd, true, (orl + (phead0 ' + orl0).butlast).last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(orl + (phead0 ' + orl0).butlast).last].next) = Weak(tid), pcf(tid) = E11, vs[(orl + (phead0 ' + orl0).butlast).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + phead0 ' + orl0, vhead, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + (phead0 ' + orl0).butlast).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ 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, (orl + (phead0 ' + orl0).butlast).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(orl0, vs) ⊦ ((orl + (phead0 ' + orl0).butlast).last ∈ orl ∨ (orl + (phead0 ' + orl0).butlast).last = phead0 ∨ (orl + (phead0 ' + orl0).butlast).last ∈ orl0) ∧ (orl + (phead0 ' + orl0).butlast).last ≠ (phead0 ' + orl0).last |
⊦ y ≠ [] → (x + y).last = y.last
vs[(phead0 ' + orl0).last].deqID = None, ps[phead0].deqID = None, ps[(phead0 ' + orl0).butlast.last].next = null, vs[(phead0 ' + orl0).last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(phead0 ' + orl0).butlast.last].next].val, optval, vs[(phead0 ' + orl0).butlast.last].next, nd, true, (phead0 ' + orl0).butlast.last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(phead0 ' + orl0).butlast.last].next) = Weak(tid), pcf(tid) = E11, (phead0 ' + orl0).butlast ≠ [], vs[(phead0 ' + orl0).butlast.last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid, vhead, vs), noid(tid, orl + phead0 ' + orl0, vhead, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(phead0 ' + orl0).butlast.last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ 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, (phead0 ' + orl0).butlast.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(orl0, vs) ⊦ ((phead0 ' + orl0).butlast.last ∈ orl ∨ (phead0 ' + orl0).butlast.last = phead0 ∨ (phead0 ' + orl0).butlast.last ∈ orl0) ∧ (phead0 ' + orl0).butlast.last ≠ (phead0 ' + orl0).last
Used simplifier rules: ⊦ (a ' + x).butlast = [] ↔ x = []; (s) ⊦ ¬ a ∈ []; (s) ⊦ ¬ dups([]); (s) ⊦ unmarkedp([], vs); (s) ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ a '.butlast = []; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) Used terms: orl, (phead0 ' + orl0).butlast
| ⊦ y ≠ [] → (x + y).last = y.last |
| vs[(phead0 ' + orl0).last].deqID = None, ps[phead0].deqID = None, ps[(phead0 ' + orl0).butlast.last].next = null, vs[(phead0 ' + orl0).last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(phead0 ' + orl0).butlast.last].next].val, optval, vs[(phead0 ' + orl0).butlast.last].next, nd, true, (phead0 ' + orl0).butlast.last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(phead0 ' + orl0).butlast.last].next) = Weak(tid), pcf(tid) = E11, (phead0 ' + orl0).butlast ≠ [], vs[(phead0 ' + orl0).butlast.last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid, vhead, vs), noid(tid, orl + phead0 ' + orl0, vhead, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(phead0 ' + orl0).butlast.last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ 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, (phead0 ' + orl0).butlast.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(orl0, vs) ⊦ ((phead0 ' + orl0).butlast.last ∈ orl ∨ (phead0 ' + orl0).butlast.last = phead0 ∨ (phead0 ' + orl0).butlast.last ∈ orl0) ∧ (phead0 ' + orl0).butlast.last ≠ (phead0 ' + orl0).last |
ps[phead0].deqID = None, vs[orl0.last].deqID = None, vs[orl0.last].next = null, ps[(phead0 ' + orl0.butlast).last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(phead0 ' + orl0.butlast).last].next].val, optval, vs[(phead0 ' + orl0.butlast).last].next, nd, true, (phead0 ' + orl0.butlast).last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(phead0 ' + orl0.butlast).last].next) = Weak(tid), pcf(tid) = E11, vs[(phead0 ' + orl0.butlast).last].next ≠ null, orl ≠ [], orl0 ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + phead0 ' + orl0, vhead, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(phead0 ' + orl0.butlast).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ 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, (phead0 ' + orl0.butlast).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(orl0, vs) ⊦ ((phead0 ' + orl0.butlast).last ∈ orl ∨ (phead0 ' + orl0.butlast).last = phead0 ∨ (phead0 ' + orl0.butlast).last ∈ orl0) ∧ (phead0 ' + orl0.butlast).last ≠ orl0.last
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ x ≠ [] → (a ' + x).last = x.last; (s) ⊦ x ≠ [] → (a ' + x).butlast = a ' + x.butlast; (s) ⊦ (a ' + x).butlast = [] ↔ x = []; (s)
| ps[phead0].deqID = None, vs[orl0.last].deqID = None, vs[orl0.last].next = null, ps[(phead0 ' + orl0.butlast).last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(phead0 ' + orl0.butlast).last].next].val, optval, vs[(phead0 ' + orl0.butlast).last].next, nd, true, (phead0 ' + orl0.butlast).last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(phead0 ' + orl0.butlast).last].next) = Weak(tid), pcf(tid) = E11, vs[(phead0 ' + orl0.butlast).last].next ≠ null, orl ≠ [], orl0 ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + phead0 ' + orl0, vhead, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(phead0 ' + orl0.butlast).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ 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, (phead0 ' + orl0.butlast).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(orl0, vs) ⊦ ((phead0 ' + orl0.butlast).last ∈ orl ∨ (phead0 ' + orl0.butlast).last = phead0 ∨ (phead0 ' + orl0.butlast).last ∈ orl0) ∧ (phead0 ' + orl0.butlast).last ≠ orl0.last |
vs[vhead0].deqID = None, ps[phead0].deqID = None, ps[(phead0 ' + orl1).last].next = null, vs[vhead0].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(phead0 ' + orl1).last].next].val, optval, vs[(phead0 ' + orl1).last].next, nd, true, (phead0 ' + orl1).last, vhead3, rvref, optval0, vhead4, tid2, addr), orl0 = orl1 + vhead0 ', owns(vs[(phead0 ' + orl1).last].next) = Weak(tid), pcf(tid) = E11, vs[(phead0 ' + orl1).last].next ≠ null, orl ≠ [], orl0 ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid, vhead, vs), noid(tid, orl + phead0 ' + orl0, vhead, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(phead0 ' + orl1).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ 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, (phead0 ' + orl1).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(orl0, vs) ⊦ ((phead0 ' + orl1).last ∈ orl ∨ (phead0 ' + orl1).last = phead0 ∨ (phead0 ' + orl1).last ∈ orl0) ∧ (phead0 ' + orl1).last ≠ vhead0
Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl0, vhead0, y
| vs[vhead0].deqID = None, ps[phead0].deqID = None, ps[(phead0 ' + orl1).last].next = null, vs[vhead0].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(phead0 ' + orl1).last].next].val, optval, vs[(phead0 ' + orl1).last].next, nd, true, (phead0 ' + orl1).last, vhead3, rvref, optval0, vhead4, tid2, addr), orl0 = orl1 + vhead0 ', owns(vs[(phead0 ' + orl1).last].next) = Weak(tid), pcf(tid) = E11, vs[(phead0 ' + orl1).last].next ≠ null, orl ≠ [], orl0 ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid, vhead, vs), noid(tid, orl + phead0 ' + orl0, vhead, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(phead0 ' + orl1).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ 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, (phead0 ' + orl1).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(orl0, vs) ⊦ ((phead0 ' + orl1).last ∈ orl ∨ (phead0 ' + orl1).last = phead0 ∨ (phead0 ' + orl1).last ∈ orl0) ∧ (phead0 ' + orl1).last ≠ vhead0 |
ps[phead0].deqID = None, vs[vhead0].deqID = None, ps[vhead0].deqID = None, vs[vhead0].next = null, ps[(phead0 ' + orl1).last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(phead0 ' + orl1).last].next].val, optval, vs[(phead0 ' + orl1).last].next, nd, true, (phead0 ' + orl1).last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(phead0 ' + orl1).last].next) = Weak(tid), pcf(tid) = E11, (phead0 ' + orl1).last ≠ phead0, vs[(phead0 ' + orl1).last].next ≠ null, orl ≠ [], phead0 ≠ vhead0, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl1 + vhead0 ', vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + phead0 ' + orl1 + vhead0 ', vhead, vs), nonullRetRefs(orl + phead0 ' + orl1 + vhead0 ', vs, vretRefs, pretRefs), oneweakowns(tid, vs[(phead0 ' + orl1).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl1, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + orl1), ¬ dups(orl), ¬ dups(orl1), ¬ vhead0 ∈ orl1, ¬ vhead0 ∈ orl, ¬ phead0 ∈ orl, ¬ phead0 ∈ orl1, ¬ (phead0 ' + orl1).last ∈ orl, ¬ (phead0 ' + orl1).last ∈ orl1, 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, (phead0 ' + orl1).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl1 + vhead0 ', orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl1, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(orl1, 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 ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) ⊦ x + a ' ≠ []; (s)
| ps[phead0].deqID = None, vs[vhead0].deqID = None, ps[vhead0].deqID = None, vs[vhead0].next = null, ps[(phead0 ' + orl1).last].next = null, dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(phead0 ' + orl1).last].next].val, optval, vs[(phead0 ' + orl1).last].next, nd, true, (phead0 ' + orl1).last, vhead3, rvref, optval0, vhead4, tid2, addr), owns(vs[(phead0 ' + orl1).last].next) = Weak(tid), pcf(tid) = E11, (phead0 ' + orl1).last ≠ phead0, vs[(phead0 ' + orl1).last].next ≠ null, orl ≠ [], phead0 ≠ vhead0, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl1 + vhead0 ', vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + phead0 ' + orl1 + vhead0 ', vhead, vs), nonullRetRefs(orl + phead0 ' + orl1 + vhead0 ', vs, vretRefs, pretRefs), oneweakowns(tid, vs[(phead0 ' + orl1).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl1, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + orl1), ¬ dups(orl), ¬ dups(orl1), ¬ vhead0 ∈ orl1, ¬ vhead0 ∈ orl, ¬ phead0 ∈ orl, ¬ phead0 ∈ orl1, ¬ (phead0 ' + orl1).last ∈ orl, ¬ (phead0 ' + orl1).last ∈ orl1, 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, (phead0 ' + orl1).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl1 + vhead0 ', orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl1, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(orl1, vs) ⊦ |
⊦ y ≠ [] → (x + y).last = y.last
Used simplifier rules: ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) Used terms: phead0 ', orl1
| ⊦ y ≠ [] → (x + y).last = y.last |
| vs[(orl + qrl).last].next = null, doEnq(tid) = (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), dom vrvHp = dom prvHp, gs1 = mkgs (ps[vtail0, ps[vtail0].deqID:= vs[vtail0].deqID], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns), lsf2 = lsf, pcf2 = pcf, orl ≠ [], vtail0 ≠ null, 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, vtail0 ∈ vs, vtail0 ∈ 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)), 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 ⊦ |
vs[(orl + qrl).last].next = null, doEnq(tid) = (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), dom vrvHp = dom prvHp, orl ≠ [], vtail0 ≠ null, 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), vtail0 ∈ ps, vtail0 ∈ vs, 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) ⊦
| vs[(orl + qrl).last].next = null, doEnq(tid) = (qrl ≠ [] ∧ vtail0 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), dom vrvHp = dom prvHp, orl ≠ [], vtail0 ≠ null, 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), vtail0 ∈ ps, vtail0 ∈ vs, 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) ⊦ |
vs[(orl + qrl).last].next = null, doEnq(tid) = (qrl ≠ [] ∧ vtail0 = vhead1 ∧ vs[vhead1].deqID ≠ None ⊃ doDeq(vs[vhead1].deqID.tid);τ), dom vrvHp = dom prvHp, qrl = vhead1 + qrl0, orl ≠ [], qrl ≠ [], vtail0 ≠ null, 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, vtail0 ∈ vs, vtail0 ∈ 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)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, 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 ⊦
Used simplifier rules: ⊦ doEnq(tid) ≠ τ; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl, vhead1, y
| vs[(orl + qrl).last].next = null, doEnq(tid) = (qrl ≠ [] ∧ vtail0 = vhead1 ∧ vs[vhead1].deqID ≠ None ⊃ doDeq(vs[vhead1].deqID.tid);τ), dom vrvHp = dom prvHp, qrl = vhead1 + qrl0, orl ≠ [], qrl ≠ [], vtail0 ≠ null, 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, vtail0 ∈ vs, vtail0 ∈ 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)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, 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 ⊦ |
ps[vhead1].deqID = None, vs[(vhead1 ' + qrl0).last].next = null, doEnq(tid) = (vtail0 = vhead1 ∧ vs[vhead1].deqID ≠ None ⊃ doDeq(vs[vhead1].deqID.tid);τ), dom vrvHp = dom prvHp, orl ≠ [], vtail0 ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead1 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + vhead1 ' + qrl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), vtail0 ∈ ps, vtail0 ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead1 ∈ orl, ¬ vhead1 ∈ 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), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), vhead0 = (vhead1 ' + qrl0).last ∨ vhead0 = (orl + (vhead1 ' + qrl0).butlast).last ∧ vs[(vhead1 ' + qrl0).last].deqID = None, orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead1].deqID = None ∧ unmarkedp(qrl0, 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) ⊦ 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)
| ps[vhead1].deqID = None, vs[(vhead1 ' + qrl0).last].next = null, doEnq(tid) = (vtail0 = vhead1 ∧ vs[vhead1].deqID ≠ None ⊃ doDeq(vs[vhead1].deqID.tid);τ), dom vrvHp = dom prvHp, orl ≠ [], vtail0 ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead1 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + vhead1 ' + qrl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), vtail0 ∈ ps, vtail0 ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead1 ∈ orl, ¬ vhead1 ∈ 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), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), vhead0 = (vhead1 ' + qrl0).last ∨ vhead0 = (orl + (vhead1 ' + qrl0).butlast).last ∧ vs[(vhead1 ' + qrl0).last].deqID = None, orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead1].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
Used simplifier rules: ⊦ doEnq(tid) ≠ τ; (s) ⊦ doDeq(tid) ≠ doEnq(tid0); (s)
| lsf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid).lst = gs.vtail, lsf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid).node = gs.vs[(gs.orl + gs.qrl).last].next, gs.vtail = (gs.orl + gs.qrl).last, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid) = E10 ∧ lsf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid).success ∨ pcf(gs.owns(gs.vs[(gs.orl + gs.qrl).last].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))))) |
lsf(gs.owns(gs.vs[gs.vtail].next).tid).lst = gs.vtail, lsf(gs.owns(gs.vs[gs.vtail].next).tid).node = gs.vs[gs.vtail].next, gs.vtail = (gs.orl + gs.qrl).last, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(gs.owns(gs.vs[gs.vtail].next).tid) = E10 ∧ lsf(gs.owns(gs.vs[gs.vtail].next).tid).success ∨ pcf(gs.owns(gs.vs[gs.vtail].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)))))
| lsf(gs.owns(gs.vs[gs.vtail].next).tid).lst = gs.vtail, lsf(gs.owns(gs.vs[gs.vtail].next).tid).node = gs.vs[gs.vtail].next, gs.vtail = (gs.orl + gs.qrl).last, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(gs.owns(gs.vs[gs.vtail].next).tid) = E10 ∧ lsf(gs.owns(gs.vs[gs.vtail].next).tid).success ∨ pcf(gs.owns(gs.vs[gs.vtail].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))))) |
lsf(owns(vs[vhead0].next).tid).lst = vhead0, lsf(owns(vs[vhead0].next).tid).node = vs[vhead0].next, gs = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), vhead0 = (orl + qrl).last, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(owns(vs[vhead0].next).tid) = E10 ∧ lsf(owns(vs[vhead0].next).tid).success ∨ pcf(owns(vs[vhead0].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(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(owns(vs[vhead0].next).tid).lst = vhead0, lsf(owns(vs[vhead0].next).tid).node = vs[vhead0].next, gs = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), vhead0 = (orl + qrl).last, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(owns(vs[vhead0].next).tid) = E10 ∧ lsf(owns(vs[vhead0].next).tid).success ∨ pcf(owns(vs[vhead0].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))))) |
lsf(owns(vs[(orl + qrl).last].next).tid).lst = (orl + qrl).last, lsf(owns(vs[(orl + qrl).last].next).tid).node = vs[(orl + qrl).last].next, DMSQInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ lsf(owns(vs[(orl + qrl).last].next).tid).success ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)))))
| lsf(owns(vs[(orl + qrl).last].next).tid).lst = (orl + qrl).last, lsf(owns(vs[(orl + qrl).last].next).tid).node = vs[(orl + qrl).last].next, DMSQInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ lsf(owns(vs[(orl + qrl).last].next).tid).success ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))))) |
lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vhead0, nd, obsEmpty, vhead1, vhead2, rvref, optval0, vhead3, tid1, addr), vhead0 = vs[(orl + qrl).last].next, vhead1 = (orl + qrl).last, DMSQInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(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(owns(vs[(orl + qrl).last].next).tid), addr, tid0, lst, first, rvref, othertid, success, optval
| lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vhead0, nd, obsEmpty, vhead1, vhead2, rvref, optval0, vhead3, tid1, addr), vhead0 = vs[(orl + qrl).last].next, vhead1 = (orl + qrl).last, DMSQInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))))) |
lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), DMSQInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)))))
| lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), DMSQInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))))) |
⊦ DMSQInv(gs, lsf, pcf) ↔ DMSQGInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(gs, lsf(tid), pcf(tid)))
lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)))))
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, 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(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(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)
dom mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp = dom mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ≠ [], DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp), allocrv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp), listp ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), markedp (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), markedp (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), nonullRetRefs ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs), rvownerok (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns), rvownerok (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns), unmarkedp (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).phead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, ¬ dups ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl), mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID ≠ None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.last = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] → unmarkedp (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.tail, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs)) ∨ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.butlast ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.butlast.last = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).phead ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.last ∧ unmarkedp (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ).last ∨ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.butlast ).last ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.last ] .deqID = None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ).last ] .next = null ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)))))
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp = dom mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ≠ [], DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp), allocrv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp), listp ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), markedp (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), markedp (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), nonullRetRefs ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs), rvownerok (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns), rvownerok (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns), unmarkedp (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).phead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, ¬ dups ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl), mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID ≠ None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.last = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] → unmarkedp (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.tail, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs)) ∨ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.butlast ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.butlast.last = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).phead ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.last ∧ unmarkedp (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ).last ∨ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.butlast ).last ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.last ] .deqID = None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ).last ] .next = null ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))))) |
dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(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)
| dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), abs (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(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))
dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), q = content (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), orl ≠ [], DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)))))
Used terms: alsf, lsf, q, apcf, pcf, mkgs (ps, vs, phead, vhead, (orl + qrl).last, 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)) |
| dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), q = content (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), orl ≠ [], DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoEnq(tid))))) |
dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(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)
| dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
lsf(owns(vs[(orl + qrl).last].next).tid).tid = owns(vs[(orl + qrl).last].next).tid, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(owns(vs[(orl + qrl).last].next).tid), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
Used terms: owns(vs[(orl + qrl).last].next).tid
| lsf(owns(vs[(orl + qrl).last].next).tid).tid = owns(vs[(orl + qrl).last].next).tid, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls(tid0, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(owns(vs[(orl + qrl).last].next).tid), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
lsf(tid).tid = tid, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
Used terms: tid
| lsf(tid).tid = tid, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid0, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), tid0 = tid, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(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(tid), addr0, tid0, lst, first, rvref0, othertid, success, optval1
| dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid0, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), tid0 = tid, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
| dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
Used terms: tid
| abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(owns(vs[(orl + qrl).last].next).tid), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(owns(vs[(orl + qrl).last].next).tid), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
Used terms: owns(vs[(orl + qrl).last].next).tid
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(owns(vs[(orl + qrl).last].next).tid), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(owns(vs[(orl + qrl).last].next).tid), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
Used formulas: apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(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), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, ca = doEnq(tid), dom vrvHp = dom prvHp, gs1 = gs0, gs2 = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf1 = lsf, lsf2 = lsf0, pcf1 = pcf, pcf2 = pcf0, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
Used terms: lsf, doEnq(tid), gs0, pcf, mkgs (ps, vs, phead, vhead, (orl + qrl).last, 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), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, ca = doEnq(tid), dom vrvHp = dom prvHp, gs1 = gs0, gs2 = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf1 = lsf, lsf2 = lsf0, pcf1 = pcf, pcf2 = pcf0, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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[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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, ls, pc) ∧ lsf0 = lsf(tid0; ls) ∧ pcf0 = pcf(tid0; pc) ∨ doEnq(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, vhead, (orl + qrl).last, 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 ∨ doEnq(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, vhead, (orl + qrl).last, 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(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
Used simplifier rules: ⊦ doEnq(tid) ≠ globalCRASH; (s) ⊦ doEnq(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) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ y ≠ [] → (x + y).last = y.last; (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) ⊦ doEnq(tid) ≠ globalFLUSHVAL(node); (s) ⊦ doEnq(tid) ≠ globalFLUSHHEAD; (s)
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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[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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, ls, pc) ∧ lsf0 = lsf(tid0; ls) ∧ pcf0 = pcf(tid0; pc) ∨ doEnq(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, vhead, (orl + qrl).last, 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 ∨ doEnq(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, vhead, (orl + qrl).last, 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(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf0 = lsf(tid0; ls), pcf0 = pcf(tid0; pc), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, doEnq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ), dom vrvHp = dom prvHp, gs0 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (orl + qrl).last, 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(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf0 = lsf, pcf0 = pcf, orl ≠ [], vtail0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, doEnq(tid) = (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), dom vrvHp = dom prvHp, gs0 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (orl + qrl).last, 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(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf0 = lsf, pcf0 = pcf, orl ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf0 = lsf(tid0; ls), pcf0 = pcf(tid0; pc), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
Used formulas: apcf(tid) = invEnq
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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(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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ tid = alsf(tid).tid ∧ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), invEnq, DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), invEnq, DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), invEnq, DoEnq(tid)))))
Used simplifier rules: ⊦ DoEnq(tid) = DoEnq(tid0) ↔ tid = tid0; (s) ⊦ pre(gs, ls, invEnq, a) ↔ a = DoEnq(ls.tid); (s)
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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(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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ tid = alsf(tid).tid ∧ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), invEnq, DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), invEnq, DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), invEnq, DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ tid = tid3 ∧ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), invEnq, DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), invEnq, DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), invEnq, DoEnq(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, optval3
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ tid = tid3 ∧ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), invEnq, DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), invEnq, DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), invEnq, DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, alsf(tid) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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(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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ tid = tid3 ∧ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid3), invEnq, DoEnq(tid3)), alsf(tid3; lstepf(mkgs(content(qrl, ps)), alsf(tid3), invEnq, DoEnq(tid3))), apcf(tid3; pcstepf(mkgs(content(qrl, ps)), alsf(tid3), invEnq, DoEnq(tid3)))))
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, alsf(tid) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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(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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ tid = tid3 ∧ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid3), invEnq, DoEnq(tid3)), alsf(tid3; lstepf(mkgs(content(qrl, ps)), alsf(tid3), invEnq, DoEnq(tid3))), apcf(tid3; pcstepf(mkgs(content(qrl, ps)), alsf(tid3), invEnq, DoEnq(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)])
mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).tid = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4).tid, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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(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), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).value = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null → mkls(tid3, obsEmpty1, val1, optval3, val2, optval4).obsEmpty, pcf(tid) = D20 ∧ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid3, obsEmpty1, val1, optval3, val2, optval4).oval = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success ∨ pcf(tid) = D34 → mkls(tid3, obsEmpty1, val1, optval3, val2, optval4).oval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ], ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ tid = tid3 ∧ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid3), invEnq, DoEnq(tid3)), alsf(tid3; lstepf(mkgs(content(qrl, ps)), alsf(tid3), invEnq, DoEnq(tid3))), apcf(tid3; pcstepf(mkgs(content(qrl, ps)), alsf(tid3), invEnq, DoEnq(tid3)))))
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), mkls(tid3, obsEmpty1, val1, optval3, 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)]) |
| mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).tid = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4).tid, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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(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), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).value = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null → mkls(tid3, obsEmpty1, val1, optval3, val2, optval4).obsEmpty, pcf(tid) = D20 ∧ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid3, obsEmpty1, val1, optval3, val2, optval4).oval = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success ∨ pcf(tid) = D34 → mkls(tid3, obsEmpty1, val1, optval3, val2, optval4).oval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ], ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ tid = tid3 ∧ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid3), invEnq, DoEnq(tid3)), alsf(tid3; lstepf(mkgs(content(qrl, ps)), alsf(tid3), invEnq, DoEnq(tid3))), apcf(tid3; pcstepf(mkgs(content(qrl, ps)), alsf(tid3), invEnq, DoEnq(tid3))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3), gs0, 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, ¬ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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), pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
Used simplifier rules: ⊦ pcstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invEnq, DoEnq(tid)) = resEnq; (s) ⊦ lstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invEnq, DoEnq(tid)) = mkls(tid, obsEmpty, ival, oval, value, optval); (s) ⊦ mkgs(queue).queue:= queue0 = mkgs(queue0); (s) ⊦ x + a = x + a '; (s) ⊦ mkgs(queue).queue = queue; (s) ⊦ gstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invEnq, DoEnq(tid)) = gs.queue:= (gs.queue + ival); (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, 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)
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3), gs0, 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, ¬ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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), pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
⊦ 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, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid3) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, gs0 = gstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)), ls = lstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pc = pcstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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), pre(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: doEnq(tid3), ls, pc, pcf(tid0), gs0, lsf(tid0), mkgs (ps, vs, phead, vhead, (orl + qrl).last, 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, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid3) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, gs0 = gstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)), ls = lstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pc = pcstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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), pre(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)), lsf (tid0 ; lstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)) ), pcf (tid0 ; pcstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)) )), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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), pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, pcf(tid0) = E11 ∧ lsf(tid0).tid = tid3 ∧ ps[lsf(tid0).lst].next ≠ vs[lsf(tid0).lst].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid3 ∧ lsf(tid0).lst = (orl + qrl).last ⊦
Used simplifier rules: pre-doEnq: ⊦ pre(gs, ls, pc, doEnq(tid)) ↔ pc = E11 ∧ ls.tid = tid ∧ gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ∨ (pc = D16 ∨ pc = E14) ∧ gs.owns(ls.nxt).tid = tid ∧ ls.lst = (gs.orl + gs.qrl).last; ⊦ 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) .owns = owns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s)
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)), lsf (tid0 ; lstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)) ), pcf (tid0 ; pcstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)) )), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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), pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, pcf(tid0) = E11 ∧ lsf(tid0).tid = tid3 ∧ ps[lsf(tid0).lst].next ≠ vs[lsf(tid0).lst].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid3 ∧ lsf(tid0).lst = (orl + qrl).last ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid3) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)), lsf (tid0 ; lstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)) ), pcf (tid0 ; pcstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)) )), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E11 ∧ tid4 = tid3 ∧ ps[vhead1].next ≠ vs[vhead1].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(vhead4).tid = tid3 ∧ vhead1 = (orl + qrl).last, pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
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, nd1, lsf(tid0), addr1, tid4, lst, first, rvref1, othertid, success, optval5
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid3) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)), lsf (tid0 ; lstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)) ), pcf (tid0 ; pcstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid3)) )), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E11 ∧ tid4 = tid3 ∧ ps[vhead1].next ≠ vs[vhead1].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(vhead4).tid = tid3 ∧ vhead1 = (orl + qrl).last, pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)), lsf (tid0 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)) ), pcf (tid0 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)) )), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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), pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, pcf(tid0) = E11 ∧ tid4 = tid3 ∧ ps[vhead1].next ≠ vs[vhead1].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(vhead4).tid = tid3 ∧ vhead1 = (orl + qrl).last ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)), lsf (tid0 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)) ), pcf (tid0 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)) )), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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), pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, pcf(tid0) = E11 ∧ tid4 = tid3 ∧ ps[vhead1].next ≠ vs[vhead1].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(vhead4).tid = tid3 ∧ vhead1 = (orl + qrl).last ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid3) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0) = E11, tid4 = tid3, ps[vhead1].next ≠ vs[vhead1].next, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)), lsf (tid0 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)) ), pcf (tid0 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)) )), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
owns(vhead4).tid = tid3, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid3) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), vhead1 = (orl + qrl).last, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)), lsf (tid0 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)) ), pcf (tid0 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)) )), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = D16 ∨ pcf(tid0) = E14 ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid3) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0) = E11, tid4 = tid3, ps[vhead1].next ≠ vs[vhead1].next, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)), lsf (tid0 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)) ), pcf (tid0 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)) )), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid3) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0) = E11, ps[vhead1].next ≠ vs[vhead1].next, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (mkgs (ps[vhead1, ps[vhead1].next:= vs[vhead1].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[vhead1].next ', orl, owns(vhead0; None), rvowns), lsf(tid0; mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1)), pcf(tid0; E12)), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ pcstepf(gs, ls, E11, a) = E12; (s) ⊦ lstepf(gs, ls, E11, a) = ls; (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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ 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) .vs = ps0; (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:= qrl1 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl1, qrl0, owns, rvowns); (s) ⊦ x + a = x + 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) .ps:= ps1 = mkgs (ps1, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ gstepf(gs, ls, E11, a) = ( ( gs .ps:= gs.ps [ls.lst, gs.ps[ls.lst].next:= gs.vs[ls.lst].next ]) .qrl:= (gs.ps[ls.lst].next = gs.vs[ls.lst].next ⊃ gs.qrl ;gs.qrl + gs.vs[ls.lst].next )) .owns:= (gs.ps[ls.lst].next = gs.vs[ls.lst].next ⊃ gs.owns ;gs.owns(ls.node; None) ); (s)
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid3) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0) = E11, ps[vhead1].next ≠ vs[vhead1].next, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (mkgs (ps[vhead1, ps[vhead1].next:= vs[vhead1].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[vhead1].next ', orl, owns(vhead0; None), rvowns), lsf(tid0; mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1)), pcf(tid0; E12)), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
lsf(tid0).tid = tid0, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0) = E11, ps[vhead1].next ≠ vs[vhead1].next, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (mkgs (ps[vhead1, ps[vhead1].next:= vs[vhead1].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[vhead1].next ', orl, owns(vhead0; None), rvowns), lsf(tid0; mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1)), pcf(tid0; E12)), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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), pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
Used terms: tid0
| lsf(tid0).tid = tid0, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0) = E11, ps[vhead1].next ≠ vs[vhead1].next, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (mkgs (ps[vhead1, ps[vhead1].next:= vs[vhead1].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[vhead1].next ', orl, owns(vhead0; None), rvowns), lsf(tid0; mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1)), pcf(tid0; E12)), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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), pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), E11) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid3) = E11, ps[vhead1].next ≠ vs[vhead1].next, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (mkgs (ps[vhead1, ps[vhead1].next:= vs[vhead1].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[vhead1].next ', orl, owns(vhead0; None), rvowns), lsf(tid3; mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1)), pcf(tid3; E12)), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → val3 = val1, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
Used simplifier rules: ⊦ D34 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ E11 ≠ E16; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E13; (s) ⊦ E10 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E1 ≠ E11; (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, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), E11) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid3) = E11, ps[vhead1].next ≠ vs[vhead1].next, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (mkgs (ps[vhead1, ps[vhead1].next:= vs[vhead1].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[vhead1].next ', orl, owns(vhead0; None), rvowns), lsf(tid3; mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1)), pcf(tid3; E12)), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → val3 = val1, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
⊦ 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)))
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid3) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid3) = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid3) = E11, ps[vhead1].next ≠ vs[vhead1].next, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (mkgs (ps[vhead1, ps[vhead1].next:= vs[vhead1].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[vhead1].next ', orl, owns(vhead0; None), rvowns), lsf(tid3; mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1)), pcf(tid3; E12)), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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), vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → val3 = val1, E11 = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref) = Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E11 = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E11 = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = D6 → ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ∨ ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), E11 = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E11 = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, E11 = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), E11 = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), E11 = D12 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next), E11 = D13 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, E11 = D14 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, E11 = D15 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty, E11 = D16 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E11 = D17 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E11 = D18 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E11 = D19 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E11 = D20 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success) ∧ (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ noid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ), E11 = D21 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first), E11 = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E11 = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], E11 = D25 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E11 = D26 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid)) = Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E11 = D27 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E11 = D28 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E11 = D29 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E11 = D30 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E11 = D31 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E11 = D34 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ⊃ Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), E11 = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), E11 = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E11 = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E11 = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E11 = E10 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), E11 = E11 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), E11 = E12 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null, E11 = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E11 = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → nextnottid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), E11 = E10 → (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), E11 = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), E11 = E4 → (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ noowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), E11
| ⊦ 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))) |
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid3) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid3) = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid3) = E11, ps[vhead1].next ≠ vs[vhead1].next, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (mkgs (ps[vhead1, ps[vhead1].next:= vs[vhead1].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[vhead1].next ', orl, owns(vhead0; None), rvowns), lsf(tid3; mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1)), pcf(tid3; E12)), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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), vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → val3 = val1, E11 = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref) = Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E11 = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E11 = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = D6 → ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ∨ ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), E11 = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E11 = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, E11 = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), E11 = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), E11 = D12 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next), E11 = D13 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, E11 = D14 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, E11 = D15 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty, E11 = D16 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E11 = D17 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E11 = D18 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E11 = D19 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E11 = D20 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success) ∧ (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ noid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ), E11 = D21 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first), E11 = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E11 = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], E11 = D25 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E11 = D26 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid)) = Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E11 = D27 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E11 = D28 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E11 = D29 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E11 = D30 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E11 = D31 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E11 = D34 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ⊃ Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), E11 = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), E11 = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E11 = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E11 = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E11 = E10 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), E11 = E11 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), E11 = E12 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null, E11 = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E11 = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ≠ null ∧ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → nextnottid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), E11 = E10 → (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), E11 = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), E11 = E4 → (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ noowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid3, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), pcf(tid3; E12)), mkstate (mkgs(content(qrl, ps) + vs[vs[(orl + qrl).last].next].val '), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used simplifier rules: ⊦ weak?(Weak(tid)); (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) fw-weak-oneweakowns: ⊦ oneweakowns(tid, r0, owns, vs, ps) ∧ owns(r) = Weak(tid) ∧ r ∈ ps ∧ r ∈ vs → r = r0; (forward) from specification DMSQ ⊦ Weak(tid).tid = tid; (s) listp-nextoflast: ⊦ listp(rl, vs, ps, owns) ∧ vs[rl.last].next ≠ null → vs[rl.last].next ∈ vs ∧ vs[rl.last].next ∈ ps ∧ ps[vs[rl.last].next] = vs[vs[rl.last].next] ∧ ps[vs[rl.last].next].deqID = None ∧ ps[vs[rl.last].next].next = null ∧ weak?(owns(vs[rl.last].next)); (forward) from specification DMSQ ⊦ D3 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D5 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D17 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E10 ≠ E11; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (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) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (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) ⊦ 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) .owns = owns; (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) .value = value; (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) .success ↔ success; (s) ⊦ E11 ≠ E12; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E16; (s) ⊦ E4 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D7 ≠ E11; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ E1 ≠ E11; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ E17; (s) ⊦ D2 ≠ E11; (s) ⊦ D1 ≠ E11; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), pcf(tid3; E12)), mkstate (mkgs(content(qrl, ps) + vs[vs[(orl + qrl).last].next].val '), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
⊦ 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[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, (E11 = idle ⊃ idle ;(E11 = ready ⊃ ready ;(E11 = crashed ⊃ crashed ;( E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E11 = E11 ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ⊃ invEnq ;(E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E4 ∨ E11 = E13 ∨ E11 = E17 ⊃ resEnq ;( E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E11 = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = invEnq, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), pcf(tid3; E12)), mkstate (mkgs(content(qrl, ps) + vs[vs[(orl + qrl).last].next].val '), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11
| ⊦ 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[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, (E11 = idle ⊃ idle ;(E11 = ready ⊃ ready ;(E11 = crashed ⊃ crashed ;( E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E11 = E11 ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ⊃ invEnq ;(E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E4 ∨ E11 = E13 ∨ E11 = E17 ⊃ resEnq ;( E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E11 = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = invEnq, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), pcf(tid3; E12)), mkstate (mkgs(content(qrl, ps) + vs[vs[(orl + qrl).last].next].val '), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), pcf(tid3; E12)), mkstate (mkgs(content(qrl, ps) + vs[vs[(orl + qrl).last].next].val '), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used simplifier rules: ⊦ 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) ⊦ E10 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E1 ≠ E11; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ idle; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), pcf(tid3; E12)), mkstate (mkgs(content(qrl, ps) + vs[vs[(orl + qrl).last].next].val '), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
⊦ 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)))
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), pcf(tid3; E12)), mkstate (mkgs(content(qrl, ps) + vs[vs[(orl + qrl).last].next].val '), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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), E11 = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref) = Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D6 → ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ∨ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D12 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next), E11 = D13 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D14 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D15 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty, E11 = D16 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D17 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D18 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D19 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D20 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success) ∧ (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ noid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ), E11 = D21 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first), E11 = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D25 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D26 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid)) = Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D27 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D28 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D29 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D30 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D31 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D34 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ⊃ Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), E11 = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E10 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E11 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E12 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null, E11 = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → nextnottid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), E11 = E10 → (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), E11 = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), E11 = E4 → (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ noowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11
| ⊦ 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))) |
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), pcf(tid3; E12)), mkstate (mkgs(content(qrl, ps) + vs[vs[(orl + qrl).last].next].val '), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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), E11 = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref) = Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D6 → ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ∨ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D12 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next), E11 = D13 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D14 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D15 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty, E11 = D16 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D17 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D18 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D19 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D20 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success) ∧ (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ noid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ), E11 = D21 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first), E11 = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D25 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D26 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid)) = Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D27 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D28 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D29 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D30 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D31 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D34 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ⊃ Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), E11 = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E10 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E11 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E12 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null, E11 = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ≠ null ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → nextnottid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), E11 = E10 → (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), E11 = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), E11 = E4 → (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ noowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), pcf(tid3; E12)), mkstate (mkgs(content(qrl, ps) + vs[vs[(orl + qrl).last].next].val '), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ D3 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D5 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D17 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E10 ≠ E11; (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) .owns = owns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (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) .value = value; (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) .success ↔ success; (s) ⊦ E11 ≠ E12; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E16; (s) ⊦ E4 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D7 ≠ E11; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ E1 ≠ E11; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ idle; (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) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ E17; (s) ⊦ D2 ≠ E11; (s) ⊦ D1 ≠ E11; (s) ⊦ owns(r) = Weak(tid) → ¬ noowns(tid, owns); (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), pcf(tid3; E12)), mkstate (mkgs(content(qrl, ps) + vs[vs[(orl + qrl).last].next].val '), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
⊦ 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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4).tid, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), pcf(tid3; E12)), mkstate (mkgs(content(qrl, ps) + vs[vs[(orl + qrl).last].next].val '), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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), E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E11 = E11 ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4).ival, (E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null → mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4).obsEmpty, E11 = D20 ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E11 = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E11 = D22 → mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4).oval = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval, E11 = D15 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D6 ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = D34 → mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4).oval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ], ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, 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[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4).tid, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), pcf(tid3; E12)), mkstate (mkgs(content(qrl, ps) + vs[vs[(orl + qrl).last].next].val '), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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), E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E11 = E11 ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4).ival, (E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14) ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null → mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4).obsEmpty, E11 = D20 ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E11 = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E11 = D22 → mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4).oval = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval, E11 = D15 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D6 ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = D34 → mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4).oval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ], ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), pcf(tid3; E12)), mkstate (mkgs(content(qrl, ps) + vs[vs[(orl + qrl).last].next].val '), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
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) ⊦ E10 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E1 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D15 ≠ E11; (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[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), pcf(tid3; E12)), mkstate (mkgs(content(qrl, ps) + vs[vs[(orl + qrl).last].next].val '), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
⊦ 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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .qrl, mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps) ∨ (∃ tid. ¬ ( absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ) (tid), pcf(tid3; E12)(tid), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4))(tid)) ∧ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ) (tid), pcf(tid3; E12)(tid)) = apcf(tid3; resEnq)(tid))) ⊦
Used terms: alsf (tid3 ; mkls (tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4) ), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ), content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ', apcf(tid3; resEnq), pcf(tid3; E12), mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), 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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .qrl, mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps) ∨ (∃ tid. ¬ ( absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ) (tid), pcf(tid3; E12)(tid), alsf(tid3; mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4))(tid)) ∧ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf (tid3 ; mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ) (tid), pcf(tid3; E12)(tid)) = apcf(tid3; resEnq)(tid))) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ' ∨ ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid))) ≠ (tid3 = tid ⊃ resEnq;apcf(tid)) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].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) .qrl = qrl; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ' ∨ ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid))) ≠ (tid3 = tid ⊃ resEnq;apcf(tid)) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ' ∨ ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid))) ≠ (tid3 = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ' ∨ ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid))) ≠ (tid3 = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used formulas: content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content (qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next] [vs[(orl + qrl).last].next ] .val
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ' ∨ ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid))) ≠ (tid3 = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ', vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ x + a = x + a '; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ', vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[vs[(orl + qrl).last].next].val ', vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) Used terms: ps, (orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next, vs[(orl + qrl).last].next
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[vs[(orl + qrl).last].next].val ', vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, content(qrl, ps) ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ # y = # y0 → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, content(qrl, ps) ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, qrl = phead0 + qrl0, vs[(orl + qrl).last].next ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, content(qrl, ps) ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), orl ≠ [], qrl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ content([], ps) = []; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl, phead0, y
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, qrl = phead0 + qrl0, vs[(orl + qrl).last].next ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, content(qrl, ps) ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), orl ≠ [], qrl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(phead0 ' + qrl0).last].next].deqID = None, ps[phead0].deqID = None, vs[vs[(phead0 ' + qrl0).last].next].next = null, ps[(phead0 ' + qrl0).last].next = null, ps[vs[(phead0 ' + qrl0).last].next] = vs[vs[(phead0 ' + qrl0).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(phead0 ' + qrl0).last].next].val, optval, vs[(phead0 ' + qrl0).last].next, nd, true, (phead0 ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(phead0 ' + qrl0).last].next) = Weak(tid3), pcf(tid3) = E11, ps[phead0].val ' + content(qrl0, ps) ≠ ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs[(phead0 ' + qrl0).last].next][phead0].val ' + content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs[(phead0 ' + qrl0).last].next]), vs[(phead0 ' + qrl0).last].next ≠ null, vs[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + phead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + phead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(phead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(phead0 ' + qrl0).last].next ∈ vs, vs[(phead0 ' + qrl0).last].next ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl, 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. absls (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(qrl0, 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) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ a ' + x ≠ []; (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a + x = a ' + x; (s) ⊦ content(r ' + rl, ps) = ps[r].val + content(rl, ps); (s)
| vs[vs[(phead0 ' + qrl0).last].next].deqID = None, ps[phead0].deqID = None, vs[vs[(phead0 ' + qrl0).last].next].next = null, ps[(phead0 ' + qrl0).last].next = null, ps[vs[(phead0 ' + qrl0).last].next] = vs[vs[(phead0 ' + qrl0).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(phead0 ' + qrl0).last].next].val, optval, vs[(phead0 ' + qrl0).last].next, nd, true, (phead0 ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(phead0 ' + qrl0).last].next) = Weak(tid3), pcf(tid3) = E11, ps[phead0].val ' + content(qrl0, ps) ≠ ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs[(phead0 ' + qrl0).last].next][phead0].val ' + content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs[(phead0 ' + qrl0).last].next]), vs[(phead0 ' + qrl0).last].next ≠ null, vs[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + phead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + phead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(phead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(phead0 ' + qrl0).last].next ∈ vs, vs[(phead0 ' + qrl0).last].next ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl, 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. absls (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
ps[phead0].deqID = None, vs[vs[(phead0 ' + qrl0).last].next].deqID = None, ps[(phead0 ' + qrl0).last].next = null, vs[vs[(phead0 ' + qrl0).last].next].next = null, ps[vs[(phead0 ' + qrl0).last].next] = vs[vs[(phead0 ' + qrl0).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(phead0 ' + qrl0).last].next].val, optval, vs[(phead0 ' + qrl0).last].next, nd, true, (phead0 ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(phead0 ' + qrl0).last].next) = Weak(tid3), pcf(tid3) = E11, ps[phead0].val ' + content(qrl0, ps) ≠ ps[phead0].val ' + content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs[(phead0 ' + qrl0).last].next]), vs[(phead0 ' + qrl0).last].next ≠ null, vs[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, orl ≠ [], phead0 ≠ (phead0 ' + qrl0).last, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + phead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + phead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(phead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[(phead0 ' + qrl0).last].next ∈ ps, vs[(phead0 ' + qrl0).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl, 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, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) ⊦ # x = # z → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) a: ⊦ (x + y) + z = x + y + z; from specification list Used terms: ps, (phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs[(phead0 ' + qrl0).last].next, phead0
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| ps[phead0].deqID = None, vs[vs[(phead0 ' + qrl0).last].next].deqID = None, ps[(phead0 ' + qrl0).last].next = null, vs[vs[(phead0 ' + qrl0).last].next].next = null, ps[vs[(phead0 ' + qrl0).last].next] = vs[vs[(phead0 ' + qrl0).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(phead0 ' + qrl0).last].next].val, optval, vs[(phead0 ' + qrl0).last].next, nd, true, (phead0 ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(phead0 ' + qrl0).last].next) = Weak(tid3), pcf(tid3) = E11, ps[phead0].val ' + content(qrl0, ps) ≠ ps[phead0].val ' + content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs[(phead0 ' + qrl0).last].next]), vs[(phead0 ' + qrl0).last].next ≠ null, vs[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, orl ≠ [], phead0 ≠ (phead0 ' + qrl0).last, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + phead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + phead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(phead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[(phead0 ' + qrl0).last].next ∈ ps, vs[(phead0 ' + qrl0).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl, 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, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
vs[vs[(phead0 ' + qrl0).last].next].deqID = None, ps[phead0].deqID = None, vs[vs[(phead0 ' + qrl0).last].next].next = null, ps[(phead0 ' + qrl0).last].next = null, ps[vs[(phead0 ' + qrl0).last].next] = vs[vs[(phead0 ' + qrl0).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(phead0 ' + qrl0).last].next].val, optval, vs[(phead0 ' + qrl0).last].next, nd, true, (phead0 ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(phead0 ' + qrl0).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(phead0 ' + qrl0).last].next ≠ null, vs[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, content(qrl0, ps) ≠ content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs[(phead0 ' + qrl0).last].next]), orl ≠ [], phead0 ≠ (phead0 ' + qrl0).last, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + phead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + phead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(phead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(phead0 ' + qrl0).last].next ∈ vs, vs[(phead0 ' + qrl0).last].next ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl, 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. absls (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ # x = # z → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws)
| vs[vs[(phead0 ' + qrl0).last].next].deqID = None, ps[phead0].deqID = None, vs[vs[(phead0 ' + qrl0).last].next].next = null, ps[(phead0 ' + qrl0).last].next = null, ps[vs[(phead0 ' + qrl0).last].next] = vs[vs[(phead0 ' + qrl0).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(phead0 ' + qrl0).last].next].val, optval, vs[(phead0 ' + qrl0).last].next, nd, true, (phead0 ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(phead0 ' + qrl0).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(phead0 ' + qrl0).last].next ≠ null, vs[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, content(qrl0, ps) ≠ content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs[(phead0 ' + qrl0).last].next]), orl ≠ [], phead0 ≠ (phead0 ' + qrl0).last, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + phead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + phead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(phead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(phead0 ' + qrl0).last].next ∈ vs, vs[(phead0 ' + qrl0).last].next ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl, 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. absls (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
⊦ y ≠ [] → (x + y).last = y.last
ps[phead0].deqID = None, vs[vs[qrl0.last].next].deqID = None, ps[qrl0.last].next = null, vs[vs[qrl0.last].next].next = null, ps[vs[qrl0.last].next] = vs[vs[qrl0.last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[qrl0.last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls(tid3, vs[vs[qrl0.last].next].val, optval, vs[qrl0.last].next, nd, true, qrl0.last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[qrl0.last].next) = Weak(tid3), pcf(tid3) = E11, vs[qrl0.last].next ≠ null, vs[qrl0.last].next ≠ qrl0.last, content(qrl0, ps) ≠ content(qrl0, ps[qrl0.last, ps[qrl0.last].next:= vs[qrl0.last].next]), orl ≠ [], phead0 ≠ qrl0.last, qrl0 ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + phead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + phead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[qrl0.last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[qrl0.last].next ∈ ps, vs[qrl0.last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl, 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, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) ⊦ content([], ps) = []; (s) Used terms: phead0 ', qrl0
| ⊦ y ≠ [] → (x + y).last = y.last |
| ps[phead0].deqID = None, vs[vs[qrl0.last].next].deqID = None, ps[qrl0.last].next = null, vs[vs[qrl0.last].next].next = null, ps[vs[qrl0.last].next] = vs[vs[qrl0.last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[qrl0.last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls(tid3, vs[vs[qrl0.last].next].val, optval, vs[qrl0.last].next, nd, true, qrl0.last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[qrl0.last].next) = Weak(tid3), pcf(tid3) = E11, vs[qrl0.last].next ≠ null, vs[qrl0.last].next ≠ qrl0.last, content(qrl0, ps) ≠ content(qrl0, ps[qrl0.last, ps[qrl0.last].next:= vs[qrl0.last].next]), orl ≠ [], phead0 ≠ qrl0.last, qrl0 ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + phead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + phead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[qrl0.last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[qrl0.last].next ∈ ps, vs[qrl0.last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl, 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, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[phead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
Used simplifier rules: ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].val '; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) ⊦ # y = # y0 → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ x + a ' ≠ []; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: qrl0, vhead0, y
| content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), content(qrl, ps) + vs[vs[(orl + qrl).last].next].val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ' ∨ ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid))) ≠ (tid3 = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid))) ≠ (tid3 = tid ⊃ resEnq;apcf(tid)) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ x + a ' = y + b ' ↔ x = y ∧ a = b; (ws) ⊦ x + a = x + a '; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid))) ≠ (tid3 = tid ⊃ resEnq;apcf(tid)) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, tid3 = tid, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid))) ≠ (tid3 = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid))) ≠ (tid3 = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used formulas: tid3 = tid
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, tid3 = tid, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid))) ≠ (tid3 = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid), pcf(tid) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E12, mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E12) ≠ resEnq ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid), pcf(tid) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E12, mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E12) ≠ resEnq ⊦ |
⊦ 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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid), pcf(tid) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E12, mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)) ∨ (E12 = idle ⊃ idle ;(E12 = ready ⊃ ready ;(E12 = crashed ⊃ crashed ;( E12 = E1 ∨ E12 = E2 ∨ E12 = E3 ∨ E12 = E4 ∧ ¬ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E12 = E5 ∨ E12 = E6 ∨ E12 = E7 ∨ E12 = E8 ∨ E12 = E9 ∨ E12 = E10 ∧ ( mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E12 = E11 ∧ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E12 = E13 ∨ E12 = E14 ∨ E12 = E15 ∨ E12 = E16 ⊃ invEnq ;(E12 = E10 ∨ E12 = E11 ∨ E12 = E12 ∨ E12 = E4 ∨ E12 = E13 ∨ E12 = E17 ⊃ resEnq ;( E12 = D1 ∨ E12 = D2 ∨ E12 = D3 ∨ E12 = D4 ∨ E12 = D5 ∨ E12 = D6 ∧ ¬ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E12 = D7 ∨ E12 = D8 ∨ E12 = D9 ∨ E12 = D10 ∨ E12 = D11 ∨ E12 = D12 ∨ E12 = D13 ∨ E12 = D14 ∨ E12 = D16 ∨ E12 = D17 ∨ E12 = D18 ∨ E12 = D19 ∨ E12 = D20 ∧ ( mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E12 = D21 ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E12 = D25 ∨ E12 = D26 ∨ E12 = D27 ∨ E12 = D28 ∨ E12 = D29 ∨ E12 = D30 ∨ E12 = D31 ∨ E12 = D32 ∨ E12 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ resEnq, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E12
| ⊦ 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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid), pcf(tid) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E12, mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)) ∨ (E12 = idle ⊃ idle ;(E12 = ready ⊃ ready ;(E12 = crashed ⊃ crashed ;( E12 = E1 ∨ E12 = E2 ∨ E12 = E3 ∨ E12 = E4 ∧ ¬ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E12 = E5 ∨ E12 = E6 ∨ E12 = E7 ∨ E12 = E8 ∨ E12 = E9 ∨ E12 = E10 ∧ ( mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E12 = E11 ∧ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E12 = E13 ∨ E12 = E14 ∨ E12 = E15 ∨ E12 = E16 ⊃ invEnq ;(E12 = E10 ∨ E12 = E11 ∨ E12 = E12 ∨ E12 = E4 ∨ E12 = E13 ∨ E12 = E17 ⊃ resEnq ;( E12 = D1 ∨ E12 = D2 ∨ E12 = D3 ∨ E12 = D4 ∨ E12 = D5 ∨ E12 = D6 ∧ ¬ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E12 = D7 ∨ E12 = D8 ∨ E12 = D9 ∨ E12 = D10 ∨ E12 = D11 ∨ E12 = D12 ∨ E12 = D13 ∨ E12 = D14 ∨ E12 = D16 ∨ E12 = D17 ∨ E12 = D18 ∨ E12 = D19 ∨ E12 = D20 ∧ ( mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E12 = D21 ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E12 = D25 ∨ E12 = D26 ∨ E12 = D27 ∨ E12 = D28 ∨ E12 = D29 ∨ E12 = D30 ∨ E12 = D31 ∨ E12 = D32 ∨ E12 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ resEnq, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid), pcf(tid) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E12, mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), ¬ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ E11 ≠ E12; (s) ⊦ E10 ≠ E12; (s) ⊦ E12 ≠ E16; (s) ⊦ E12 ≠ E15; (s) ⊦ E12 ≠ E14; (s) ⊦ E12 ≠ E13; (s) ⊦ E9 ≠ E12; (s) ⊦ E8 ≠ E12; (s) ⊦ E7 ≠ E12; (s) ⊦ E6 ≠ E12; (s) ⊦ E5 ≠ E12; (s) ⊦ E4 ≠ E12; (s) ⊦ E3 ≠ E12; (s) ⊦ E2 ≠ E12; (s) ⊦ E1 ≠ E12; (s) ⊦ E12 ≠ crashed; (s) ⊦ E12 ≠ ready; (s) ⊦ E12 ≠ idle; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid), pcf(tid) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E12, mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4)), ¬ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
⊦ 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) ⊦ E1 ≠ E12; (s) ⊦ E2 ≠ E12; (s) ⊦ E3 ≠ E12; (s) ⊦ E4 ≠ E12; (s) ⊦ E5 ≠ E12; (s) ⊦ E6 ≠ E12; (s) ⊦ E7 ≠ E12; (s) ⊦ E8 ≠ E12; (s) ⊦ E9 ≠ E12; (s) ⊦ E10 ≠ E12; (s) ⊦ E11 ≠ E12; (s) ⊦ E12 ≠ E13; (s) ⊦ E12 ≠ E14; (s) ⊦ E12 ≠ E15; (s) ⊦ E12 ≠ E16; (s) ⊦ D10 ≠ E12; (s) ⊦ D11 ≠ E12; (s) ⊦ D12 ≠ E12; (s) ⊦ D13 ≠ E12; (s) ⊦ D14 ≠ E12; (s) ⊦ D20 ≠ E12; (s) ⊦ D21 ≠ E12; (s) ⊦ D22 ≠ E12; (s) ⊦ D15 ≠ E12; (s) ⊦ D23 ≠ E12; (s) ⊦ D24 ≠ E12; (s) ⊦ D6 ≠ E12; (s) ⊦ D34 ≠ E12; (s) Used terms: mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E12, mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, 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[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), (tid3 = tid ⊃ mkls (tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) ;lsf(tid) ), (tid3 = tid ⊃ E12;pcf(tid))) ≠ (tid3 = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: tid
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, 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), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, 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), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, 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), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, 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), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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)])
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, 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[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [lsf(tid).lst ] .next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), 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[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), 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[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vrvHp [mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vretRefs (lsf(tid).tid) ])) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), 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)]) |
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, 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[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [lsf(tid).lst ] .next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), 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[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), 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[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vrvHp [mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vretRefs (lsf(tid).tid) ])) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, 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), 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 ∨ 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[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, 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), 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 ∨ 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[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, 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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
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, obsEmpty, alsf(tid), oval, tid0, optval1
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, 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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), mkls(tid0, obsEmpty, val, optval1, val0, optval2)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, 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), 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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), mkls(tid0, obsEmpty, val, optval1, val0, optval2)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, 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), 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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), mkls(tid0, obsEmpty, val, optval1, val0, optval2)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), tid2 ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ phead1 = (orl + qrl).last ∧ ps[phead1].next = null → ¬ obsEmpty0 ;(pcf(tid) = E11 ⊃ phead1 ≠ (orl + qrl).last ∨ ps[phead1].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
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
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), mkls(tid0, obsEmpty, val, optval1, val0, optval2)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), tid2 ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ phead1 = (orl + qrl).last ∧ ps[phead1].next = null → ¬ obsEmpty0 ;(pcf(tid) = E11 ⊃ phead1 ≠ (orl + qrl).last ∨ ps[phead1].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), pcf(tid), mkls(tid0, obsEmpty, val, optval1, val0, optval2)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, 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), tid2 ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ phead1 = (orl + qrl).last → ¬ obsEmpty0 ;(pcf(tid) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), pcf(tid), mkls(tid0, obsEmpty, val, optval1, val0, optval2)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, 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), tid2 ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ phead1 = (orl + qrl).last → ¬ obsEmpty0 ;(pcf(tid) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid = mkls(tid0, obsEmpty, val, optval1, val0, optval2).tid, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success → mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).value = mkls(tid0, obsEmpty, val, optval1, val0, optval2).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = null → mkls(tid0, obsEmpty, val, optval1, val0, optval2).obsEmpty, pcf(tid) = D20 ∧ mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid0, obsEmpty, val, optval1, val0, optval2).oval = mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∨ pcf(tid) = D34 → mkls(tid0, obsEmpty, val, optval1, val0, optval2).oval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), tid2 ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ phead1 = (orl + qrl).last → ¬ obsEmpty0 ;(pcf(tid) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), pcf(tid), mkls(tid0, obsEmpty, val, optval1, val0, 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)]) |
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid = mkls(tid0, obsEmpty, val, optval1, val0, optval2).tid, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, 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), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success → mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).value = mkls(tid0, obsEmpty, val, optval1, val0, optval2).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = null → mkls(tid0, obsEmpty, val, optval1, val0, optval2).obsEmpty, pcf(tid) = D20 ∧ mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid0, obsEmpty, val, optval1, val0, optval2).oval = mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∨ pcf(tid) = D34 → mkls(tid0, obsEmpty, val, optval1, val0, optval2).oval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), tid2 ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ phead1 = (orl + qrl).last → ¬ obsEmpty0 ;(pcf(tid) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)], 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, (orl + qrl).last, 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), ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ phead1 = (orl + qrl).last → ¬ obsEmpty0 ;(pcf(tid) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)], 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, (orl + qrl).last, 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), ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ phead1 = (orl + qrl).last → ¬ obsEmpty0 ;(pcf(tid) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, optval1 ≠ optval5, orl ≠ [], tid3 ≠ tid, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)], pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D22, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid) ≠ E4, tid3 ≠ tid, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)], pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid) = E10 ⊃ phead1 = (orl + qrl).last → ¬ obsEmpty0 ;(pcf(tid) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, optval1 ≠ optval5, orl ≠ [], tid3 ≠ tid, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)], pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D22, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, optval1 ≠ optval5, orl ≠ [], pcf(tid) ≠ D22, tid3 ≠ tid, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)], 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), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ⊦ pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None, pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, optval1 ≠ optval5, orl ≠ [], pcf(tid) ≠ D22, tid3 ≠ tid, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)], 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), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ⊦ pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None, pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next, phead2
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid) ≠ E4, tid3 ≠ tid, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)], pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid) = E10 ⊃ phead1 = (orl + qrl).last → ¬ obsEmpty0 ;(pcf(tid) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) ) |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid) ≠ E4, tid3 ≠ tid, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)], 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), 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) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid) = E10 ⊃ phead1 = (orl + qrl).last → ¬ obsEmpty0 ;(pcf(tid) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid) ≠ E4, tid3 ≠ tid, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)], 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), 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) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid) = E10 ⊃ phead1 = (orl + qrl).last → ¬ obsEmpty0 ;(pcf(tid) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) ) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid).tid = tid, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid) ≠ E4, tid3 ≠ tid, DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), 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) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val, 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), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)], pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid) = E10 ⊃ phead1 = (orl + qrl).last → ¬ obsEmpty0 ;(pcf(tid) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )
Used terms: tid
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid).tid = tid, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid) ≠ E4, tid3 ≠ tid, DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), 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) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val1 = val, 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), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid0)], pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval5, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid) = E10 ⊃ phead1 = (orl + qrl).last → ¬ obsEmpty0 ;(pcf(tid) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) ) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E4, tid3 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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), 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) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid0) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val1 = val, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval1 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid0) = E10 ⊃ phead1 = (orl + qrl).last → ¬ obsEmpty0 ;(pcf(tid0) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E4, tid3 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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), 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) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid0) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val1 = val, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval1 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid0) = E10 ⊃ phead1 = (orl + qrl).last → ¬ obsEmpty0 ;(pcf(tid0) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) ) |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), obsEmpty0, owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, pcf(tid0) = E10, phead1 = (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E4, tid3 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), pcf(tid0)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval1 = 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) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid0) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val1 = val, 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, (orl + qrl).last, 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) ⊦
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid3 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), pcf(tid0)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval1 = 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) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid0) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val1 = val, 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, (orl + qrl).last, 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) ⊦ (pcf(tid0) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) )
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), obsEmpty0, owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, pcf(tid0) = E10, phead1 = (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E4, tid3 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), pcf(tid0)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval1 = 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) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid0) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val1 = val, 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, (orl + qrl).last, 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) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val, optval5, phead0, nd0, true, (orl + qrl).last, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, pcf(tid0) = E10, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val, optval5, phead0, nd0, true, (orl + qrl).last, phead2, rvref0, optval6, phead3, tid4, addr0), E10), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, 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) ⊦
Used simplifier rules: ⊦ D14 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ E4 ≠ E10; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val, optval5, phead0, nd0, true, (orl + qrl).last, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, pcf(tid0) = E10, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid3 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val, optval5, phead0, nd0, true, (orl + qrl).last, phead2, rvref0, optval6, phead3, tid4, addr0), E10), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, 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) ⊦ |
⊦ 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: ⊦ D1 ≠ E10; (s) ⊦ D2 ≠ E10; (s) ⊦ E10 ≠ E17; (s) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ idle; (s) ⊦ E10 ≠ ready; (s) ⊦ E1 ≠ E10; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D7 ≠ E10; (s) ⊦ D32 ≠ E10; (s) ⊦ D33 ≠ E10; (s) ⊦ E4 ≠ E10; (s) ⊦ E10 ≠ E16; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E12; (s) ⊦ E10 ≠ E11; (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) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (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) .owns = owns; (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) ⊦ x.last ∈ x ↔ x ≠ []; (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) .lst = node0; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ E9 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D31 ≠ E10; (s) ⊦ D30 ≠ E10; (s) ⊦ D29 ≠ E10; (s) ⊦ D28 ≠ E10; (s) ⊦ D27 ≠ E10; (s) ⊦ D26 ≠ E10; (s) ⊦ D25 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D19 ≠ E10; (s) ⊦ D18 ≠ E10; (s) ⊦ D17 ≠ E10; (s) ⊦ D16 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D9 ≠ E10; (s) ⊦ D8 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D5 ≠ E10; (s) ⊦ D4 ≠ E10; (s) ⊦ D3 ≠ E10; (s) ⊦ owns(r) = Weak(tid) → ¬ noowns(tid, owns); (s) ⊦ Weak(tid) = Weak(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid0, val, optval5, phead0, nd0, true, (orl + qrl).last, phead2, rvref0, optval6, phead3, tid4, addr0), E10
| ⊦ 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))) |
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid3 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), pcf(tid0)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval1 = 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) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last) ∨ pcf(tid0) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val1 = val, 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, (orl + qrl).last, 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) ⊦ (pcf(tid0) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid3 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval1 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, 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) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val1 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid0) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) )
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid3 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval1 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, 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) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val1 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid0) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) |
⊦ 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)))
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid3 ≠ tid0, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val1 = val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval1 = vrvHp[vretRefs(tid0)], 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), pcf(tid0) = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref) = Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ≠ null, pcf(tid0) = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ≠ null, pcf(tid0) = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), pcf(tid0) = D6 → ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ] ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Empty ∨ ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ⊃ Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ;Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val) ), pcf(tid0) = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first, pcf(tid0) = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst, pcf(tid0) = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next) ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ≠ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next), pcf(tid0) = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next) ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ≠ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next), pcf(tid0) = D12 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next), pcf(tid0) = D13 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = null, pcf(tid0) = D14 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ] = Empty ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = null, pcf(tid0) = D15 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ] = Empty, pcf(tid0) = D16 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null, pcf(tid0) = D17 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null, pcf(tid0) = D18 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next, pcf(tid0) = D19 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .val), pcf(tid0) = D20 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success) ∧ (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first) ∧ noid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ), pcf(tid0) = D21 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first) ∧ noid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first), pcf(tid0) = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next, pcf(tid0) = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ], pcf(tid0) = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ] ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ], pcf(tid0) = D25 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID .tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val)), pcf(tid0) = D26 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid)) = Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val)), pcf(tid0) = D27 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).addr) = Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val)), pcf(tid0) = D28 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).addr) = Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val), pcf(tid0) = D29 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).addr) = Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val), pcf(tid0) = D30 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).addr) = Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val), pcf(tid0) = D31 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next, pcf(tid0) = D34 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ] ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Empty ⊃ Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ;Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val) ), pcf(tid0) = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), pcf(tid0) = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), pcf(tid0) = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), pcf(tid0) = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), pcf(tid0) = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst), pcf(tid0) = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst), pcf(tid0) = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst), pcf(tid0) = E10 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ] .val = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).value ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Weak(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∨ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node), pcf(tid0) = E11 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ] .val = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).value ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Weak(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∨ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node), pcf(tid0) = E12 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ≠ null, pcf(tid0) = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), pcf(tid0) = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null, pcf(tid0) = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null, pcf(tid0) = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), 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 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ≠ null ∧ ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success → ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ] = mk(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ], 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 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ] = mk(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).value, None, null), 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 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ], pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), 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 → ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success, pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first, pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ≠ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst, pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first, pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).addr ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .val), pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → nextnottid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first → nextnottid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → noid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 → noid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E17 → noowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), 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 → oneowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), pcf(tid0) = E10 → (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), pcf(tid0) = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), pcf(tid0) = E4 → (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ⊃ noowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid0) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) )
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), pcf(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))) |
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid3 ≠ tid0, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val1 = val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval1 = vrvHp[vretRefs(tid0)], 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), pcf(tid0) = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref) = Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ≠ null, pcf(tid0) = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ≠ null, pcf(tid0) = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), pcf(tid0) = D6 → ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ] ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Empty ∨ ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ⊃ Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ;Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val) ), pcf(tid0) = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first, pcf(tid0) = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst, pcf(tid0) = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next) ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ≠ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next), pcf(tid0) = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next) ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ≠ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next), pcf(tid0) = D12 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next), pcf(tid0) = D13 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = null, pcf(tid0) = D14 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ] = Empty ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = null, pcf(tid0) = D15 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ] = Empty, pcf(tid0) = D16 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null, pcf(tid0) = D17 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null, pcf(tid0) = D18 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next, pcf(tid0) = D19 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .val), pcf(tid0) = D20 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success) ∧ (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first) ∧ noid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ), pcf(tid0) = D21 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first) ∧ noid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first), pcf(tid0) = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next, pcf(tid0) = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ], pcf(tid0) = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ] ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ], pcf(tid0) = D25 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID .tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val)), pcf(tid0) = D26 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid)) = Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val)), pcf(tid0) = D27 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).addr) = Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val)), pcf(tid0) = D28 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).addr) = Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val), pcf(tid0) = D29 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).addr) = Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val), pcf(tid0) = D30 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).addr) = Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).othertid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val), pcf(tid0) = D31 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ] .next, pcf(tid0) = D34 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ] ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Empty ⊃ Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ;Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val) ), pcf(tid0) = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), pcf(tid0) = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), pcf(tid0) = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), pcf(tid0) = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), pcf(tid0) = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst), pcf(tid0) = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst), pcf(tid0) = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst), pcf(tid0) = E10 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ] .val = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).value ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Weak(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∨ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node), pcf(tid0) = E11 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ] .val = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).value ∧ ( mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Weak(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∨ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node), pcf(tid0) = E12 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ≠ null, pcf(tid0) = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), pcf(tid0) = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null, pcf(tid0) = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ≠ null, pcf(tid0) = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), 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 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ≠ null ∧ ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success → ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node) = Some(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ] = mk(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ], 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 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ] = mk(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).value, None, null), 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 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node ], pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = Pending(mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid), 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 → ¬ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success, pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first, pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first ≠ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst, pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first, pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).rvref ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid)) = Claimed (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval.val) ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).addr ≠ null ∧ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt ] .val), pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → nextnottid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first → nextnottid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → noid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 → noid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E17 → noowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), 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 → oneowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), pcf(tid0) = E10 → (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), pcf(tid0) = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), pcf(tid0) = E4 → (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).success ⊃ noowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).tid, mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid0) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E4, pcf(tid0) ≠ E10, tid3 ≠ tid0, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid0) = D3 → rvowns(rvref0) = Pending(tid0) ∧ rvref0 ∈ vrvHp ∧ rvref0 ∈ prvHp ∧ rvref0 ≠ null, pcf(tid0) = D4 → vretRefs(tid0) = rvref0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ∈ prvHp ∧ vretRefs(tid0) ≠ null, pcf(tid0) = D5 → rvowns(vretRefs(tid0)) = Pending(tid0), pcf(tid0) = D6 → (obsEmpty0 → optval5 = vrvHp[rvref0] ∧ vrvHp[rvref0] = prvHp[rvref0]) ∧ rvowns(vretRefs(tid0)) = (optval5 = Empty ∨ ¬ obsEmpty0 ⊃ Pending(tid0);Claimed(tid0, optval5.val)), pcf(tid0) = D8 → phead3 ∈ orl ∨ phead3 ∈ qrl, pcf(tid0) = D9 → phead1 ∈ orl ∨ phead1 ∈ qrl, pcf(tid0) = D10 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead3].next) ∧ (phead3 ≠ phead1 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next), pcf(tid0) = D11 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead3].next) ∧ (phead3 ≠ phead1 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next), pcf(tid0) = D12 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next), pcf(tid0) = D13 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = null, pcf(tid0) = D14 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vrvHp[rvref0] = Empty ∧ phead2 = null, pcf(tid0) = D15 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vrvHp[rvref0] = Empty ∧ prvHp[rvref0] = Empty, pcf(tid0) = D16 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = D17 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = ps[phead1].next ∧ ps[phead1].next = vs[phead1].next ∧ ps[phead1].next ≠ null, pcf(tid0) = D18 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D19 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = Val(vs[ps[phead3].next].val), pcf(tid0) = D20 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid0) → vhead = phead3 ∧ obsEmpty0) ∧ (obsEmpty0 ⊃ vs[ps[phead3].next].deqID = Some(tid0) ∧ rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[phead3].next].val) ∧ (ps[ps[phead3].next].deqID = None → vhead = phead3) ∧ noid(tid0, orl + qrl, ps[phead3].next, vs) ;vs[ps[phead3].next].deqID ≠ None ∧ noid(tid0, orl + qrl, phead3, vs) ∧ rvowns(vretRefs(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps[phead3].next ≠ null ∧ phead3 ∈ orl ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid0) ∧ (ps[ps[phead3].next].deqID = None → vhead = phead3) ∧ noid(tid0, orl + qrl, ps[phead3].next, vs) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid0) → vhead = phead3), pcf(tid0) = D22 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D23 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = vrvHp[rvref0], pcf(tid0) = D24 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = vrvHp[rvref0] ∧ vrvHp[rvref0] = prvHp[rvref0], pcf(tid0) = D25 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID ≠ None ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (vhead = phead3 → rvowns(vretRefs((ps ⊕ vs)[ps[phead3].next].deqID.tid)) = Claimed((ps ⊕ vs)[ps[phead3].next].deqID.tid, vs[ps[phead3].next].val)), pcf(tid0) = D26 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID ≠ None ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (vhead = phead3 → rvowns(vretRefs(tid4)) = Claimed(tid4, vs[ps[phead3].next].val)), pcf(tid0) = D27 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ (vhead = phead3 → rvowns(addr0) = Claimed(tid4, optval5.val)), pcf(tid0) = D28 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D29 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D30 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D31 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D34 → optval5 = vrvHp[vretRefs(tid0)] ∧ vrvHp[vretRefs(tid0)] = prvHp[pretRefs(tid0)] ∧ vretRefs(tid0) = pretRefs(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null ∧ rvowns(vretRefs(tid0)) = (vrvHp[vretRefs(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp[vretRefs(tid0)].val)), pcf(tid0) = E2 → owns(phead0) = Some(tid0), pcf(tid0) = E3 → owns(phead0) = Some(tid0), pcf(tid0) = E5 → owns(phead0) = Some(tid0), pcf(tid0) = E6 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (ps[phead1].next = null → phead1 = (orl + qrl).last), pcf(tid0) = E7 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next) ∧ vs[phead1].next ≠ null, pcf(tid0) = E8 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next) ∧ vs[phead1].next ≠ null, pcf(tid0) = E9 → owns(phead0) = Some(tid0) ∧ phead2 = null ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vs[phead1].next ≠ null, pcf(tid0) = E12 → obsEmpty0 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (vs[phead1].next ∈ orl ∨ vs[phead1].next ∈ qrl) ∧ vs[phead1].next = phead0 ∧ ps[phead1].next = vs[phead1].next ∧ vs[phead1].next ∈ ps ∧ vs[phead1].next ∈ vs ∧ vs[phead1].next ≠ null, pcf(tid0) = E13 → owns(phead0) = Some(tid0), pcf(tid0) = E14 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = E15 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next = ps[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = E16 → owns(phead0) = Some(tid0), 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 → phead0 ∈ ps ∧ phead0 ∈ vs ∧ phead0 ≠ null ∧ ¬ phead0 ∈ orl ∧ ¬ phead0 ∈ qrl, 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 → vs[phead0] = mk(val1, None, null), 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 → ps[phead0] = vs[phead0], pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → ¬ obsEmpty0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0), 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 → ¬ obsEmpty0, pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 → phead3 ∈ orl ∧ vhead ∈ orl from phead3, pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → phead3 ≠ phead1 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl), pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → phead1 ∈ orl + qrl from phead3, pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → vretRefs(tid0) = rvref0 ∧ pretRefs(tid0) = vretRefs(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty0 ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null ∧ rvowns(vretRefs(tid0)) = Claimed(tid0, vs[phead2].val) ∧ optval5 = Val(vs[phead2].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr0 ∈ vrvHp ∧ addr0 ≠ null ∧ optval5 = Val(vs[phead2].val), pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ 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) = E11 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → nextnottid(tid0, vhead, vs), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead ≠ phead3 → nextnottid(tid0, vhead, vs), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ 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) = E11 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → noid(tid0, orl + qrl, vhead, vs), pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 → noid(tid0, orl + qrl, phead3, vs), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl + qrl, phead2, vs), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E17 → noowns(tid0, owns), 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 → oneowns(tid0, phead0, owns, vs, ps), pcf(tid0) = E11 → (ps[phead1].next ≠ vs[phead1].next ⊃ oneweakowns(tid0, phead0, owns, vs, ps);noowns(tid0, owns)), 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) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val1 = val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval1 = vrvHp[vretRefs(tid0)], 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), pcf(tid0) = E11 → obsEmpty0 ∧ vs[phead1].next = phead0 ∧ vs[phead1].next ≠ null ∧ vs[vs[phead1].next].val = val1 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ ps[phead1].next = vs[phead1].next, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid0) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) )
Used simplifier rules: ⊦ Weak(tid) = Weak(tid0) ↔ tid = tid0; (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) .prvHp = vrvHp0; (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) .tid = tid; (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) .optval = optval; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (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) .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) .vtail = phead1; (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) ⊦ 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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ Val(val).val = val; (s) ⊦ y ≠ [] → (x + y).last = y.last; (s) ⊦ 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) .addr = rvref0; (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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E4, pcf(tid0) ≠ E10, tid3 ≠ tid0, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid0) = D3 → rvowns(rvref0) = Pending(tid0) ∧ rvref0 ∈ vrvHp ∧ rvref0 ∈ prvHp ∧ rvref0 ≠ null, pcf(tid0) = D4 → vretRefs(tid0) = rvref0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ∈ prvHp ∧ vretRefs(tid0) ≠ null, pcf(tid0) = D5 → rvowns(vretRefs(tid0)) = Pending(tid0), pcf(tid0) = D6 → (obsEmpty0 → optval5 = vrvHp[rvref0] ∧ vrvHp[rvref0] = prvHp[rvref0]) ∧ rvowns(vretRefs(tid0)) = (optval5 = Empty ∨ ¬ obsEmpty0 ⊃ Pending(tid0);Claimed(tid0, optval5.val)), pcf(tid0) = D8 → phead3 ∈ orl ∨ phead3 ∈ qrl, pcf(tid0) = D9 → phead1 ∈ orl ∨ phead1 ∈ qrl, pcf(tid0) = D10 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead3].next) ∧ (phead3 ≠ phead1 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next), pcf(tid0) = D11 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead3].next) ∧ (phead3 ≠ phead1 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next), pcf(tid0) = D12 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next), pcf(tid0) = D13 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = null, pcf(tid0) = D14 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vrvHp[rvref0] = Empty ∧ phead2 = null, pcf(tid0) = D15 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vrvHp[rvref0] = Empty ∧ prvHp[rvref0] = Empty, pcf(tid0) = D16 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = D17 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = ps[phead1].next ∧ ps[phead1].next = vs[phead1].next ∧ ps[phead1].next ≠ null, pcf(tid0) = D18 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D19 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = Val(vs[ps[phead3].next].val), pcf(tid0) = D20 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid0) → vhead = phead3 ∧ obsEmpty0) ∧ (obsEmpty0 ⊃ vs[ps[phead3].next].deqID = Some(tid0) ∧ rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[phead3].next].val) ∧ (ps[ps[phead3].next].deqID = None → vhead = phead3) ∧ noid(tid0, orl + qrl, ps[phead3].next, vs) ;vs[ps[phead3].next].deqID ≠ None ∧ noid(tid0, orl + qrl, phead3, vs) ∧ rvowns(vretRefs(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps[phead3].next ≠ null ∧ phead3 ∈ orl ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid0) ∧ (ps[ps[phead3].next].deqID = None → vhead = phead3) ∧ noid(tid0, orl + qrl, ps[phead3].next, vs) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid0) → vhead = phead3), pcf(tid0) = D22 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D23 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = vrvHp[rvref0], pcf(tid0) = D24 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = vrvHp[rvref0] ∧ vrvHp[rvref0] = prvHp[rvref0], pcf(tid0) = D25 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID ≠ None ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (vhead = phead3 → rvowns(vretRefs((ps ⊕ vs)[ps[phead3].next].deqID.tid)) = Claimed((ps ⊕ vs)[ps[phead3].next].deqID.tid, vs[ps[phead3].next].val)), pcf(tid0) = D26 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID ≠ None ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (vhead = phead3 → rvowns(vretRefs(tid4)) = Claimed(tid4, vs[ps[phead3].next].val)), pcf(tid0) = D27 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ (vhead = phead3 → rvowns(addr0) = Claimed(tid4, optval5.val)), pcf(tid0) = D28 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D29 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D30 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D31 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D34 → optval5 = vrvHp[vretRefs(tid0)] ∧ vrvHp[vretRefs(tid0)] = prvHp[pretRefs(tid0)] ∧ vretRefs(tid0) = pretRefs(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null ∧ rvowns(vretRefs(tid0)) = (vrvHp[vretRefs(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp[vretRefs(tid0)].val)), pcf(tid0) = E2 → owns(phead0) = Some(tid0), pcf(tid0) = E3 → owns(phead0) = Some(tid0), pcf(tid0) = E5 → owns(phead0) = Some(tid0), pcf(tid0) = E6 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (ps[phead1].next = null → phead1 = (orl + qrl).last), pcf(tid0) = E7 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next) ∧ vs[phead1].next ≠ null, pcf(tid0) = E8 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next) ∧ vs[phead1].next ≠ null, pcf(tid0) = E9 → owns(phead0) = Some(tid0) ∧ phead2 = null ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vs[phead1].next ≠ null, pcf(tid0) = E12 → obsEmpty0 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (vs[phead1].next ∈ orl ∨ vs[phead1].next ∈ qrl) ∧ vs[phead1].next = phead0 ∧ ps[phead1].next = vs[phead1].next ∧ vs[phead1].next ∈ ps ∧ vs[phead1].next ∈ vs ∧ vs[phead1].next ≠ null, pcf(tid0) = E13 → owns(phead0) = Some(tid0), pcf(tid0) = E14 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = E15 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next = ps[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = E16 → owns(phead0) = Some(tid0), 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 → phead0 ∈ ps ∧ phead0 ∈ vs ∧ phead0 ≠ null ∧ ¬ phead0 ∈ orl ∧ ¬ phead0 ∈ qrl, 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 → vs[phead0] = mk(val1, None, null), 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 → ps[phead0] = vs[phead0], pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → ¬ obsEmpty0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0), 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 → ¬ obsEmpty0, pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 → phead3 ∈ orl ∧ vhead ∈ orl from phead3, pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → phead3 ≠ phead1 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl), pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → phead1 ∈ orl + qrl from phead3, pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → vretRefs(tid0) = rvref0 ∧ pretRefs(tid0) = vretRefs(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty0 ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null ∧ rvowns(vretRefs(tid0)) = Claimed(tid0, vs[phead2].val) ∧ optval5 = Val(vs[phead2].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr0 ∈ vrvHp ∧ addr0 ≠ null ∧ optval5 = Val(vs[phead2].val), pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ 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) = E11 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → nextnottid(tid0, vhead, vs), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead ≠ phead3 → nextnottid(tid0, vhead, vs), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ 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) = E11 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → noid(tid0, orl + qrl, vhead, vs), pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 → noid(tid0, orl + qrl, phead3, vs), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl + qrl, phead2, vs), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E17 → noowns(tid0, owns), 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 → oneowns(tid0, phead0, owns, vs, ps), pcf(tid0) = E11 → (ps[phead1].next ≠ vs[phead1].next ⊃ oneweakowns(tid0, phead0, owns, vs, ps);noowns(tid0, owns)), 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) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val1 = val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval1 = vrvHp[vretRefs(tid0)], 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), pcf(tid0) = E11 → obsEmpty0 ∧ vs[phead1].next = phead0 ∧ vs[phead1].next ≠ null ∧ vs[vs[phead1].next].val = val1 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ ps[phead1].next = vs[phead1].next, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid0) = E11 ⊃ phead1 ≠ (orl + qrl).last ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E4, pcf(tid0) ≠ E10, tid3 ≠ tid0, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid0) = E11 → obsEmpty0 ∧ vs[phead1].next = phead0 ∧ vs[phead1].next ≠ null ∧ vs[vs[phead1].next].val = val1 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ ps[phead1].next = vs[phead1].next, 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), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval1 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, 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) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val1 = val, pcf(tid0) = E11 → (ps[phead1].next ≠ vs[phead1].next ⊃ oneweakowns(tid0, phead0, owns, vs, ps);noowns(tid0, owns)), 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 → oneowns(tid0, phead0, owns, vs, ps), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E17 → noowns(tid0, owns), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl + qrl, phead2, vs), pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 → noid(tid0, orl + qrl, phead3, vs), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ 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) = E11 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → noid(tid0, orl + qrl, vhead, vs), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead ≠ phead3 → nextnottid(tid0, vhead, vs), pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ 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) = E11 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → nextnottid(tid0, vhead, vs), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr0 ∈ vrvHp ∧ addr0 ≠ null ∧ optval5 = Val(vs[phead2].val), pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty0 ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null ∧ rvowns(vretRefs(tid0)) = Claimed(tid0, vs[phead2].val) ∧ optval5 = Val(vs[phead2].val), pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → vretRefs(tid0) = rvref0 ∧ pretRefs(tid0) = vretRefs(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null, pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → phead1 ∈ orl + qrl from phead3, pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → phead3 ≠ phead1 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl), pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 → phead3 ∈ orl ∧ vhead ∈ orl from phead3, 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 → ¬ obsEmpty0, pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0), pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → ¬ obsEmpty0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0), 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 → ps[phead0] = vs[phead0], 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 → vs[phead0] = mk(val1, None, null), 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 → phead0 ∈ ps ∧ phead0 ∈ vs ∧ phead0 ≠ null ∧ ¬ phead0 ∈ orl ∧ ¬ phead0 ∈ qrl, pcf(tid0) = E16 → owns(phead0) = Some(tid0), pcf(tid0) = E15 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next = ps[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = E14 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = E13 → owns(phead0) = Some(tid0), pcf(tid0) = E12 → obsEmpty0 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (vs[phead1].next ∈ orl ∨ vs[phead1].next ∈ qrl) ∧ vs[phead1].next = phead0 ∧ ps[phead1].next = vs[phead1].next ∧ vs[phead1].next ∈ ps ∧ vs[phead1].next ∈ vs ∧ vs[phead1].next ≠ null, pcf(tid0) = E9 → owns(phead0) = Some(tid0) ∧ phead2 = null ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vs[phead1].next ≠ null, pcf(tid0) = E8 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next) ∧ vs[phead1].next ≠ null, pcf(tid0) = E7 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next) ∧ vs[phead1].next ≠ null, pcf(tid0) = E6 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (ps[phead1].next = null → phead1 = (orl + qrl).last), pcf(tid0) = E5 → owns(phead0) = Some(tid0), pcf(tid0) = E3 → owns(phead0) = Some(tid0), pcf(tid0) = E2 → owns(phead0) = Some(tid0), pcf(tid0) = D34 → optval5 = vrvHp[vretRefs(tid0)] ∧ vrvHp[vretRefs(tid0)] = prvHp[pretRefs(tid0)] ∧ vretRefs(tid0) = pretRefs(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null ∧ rvowns(vretRefs(tid0)) = (vrvHp[vretRefs(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp[vretRefs(tid0)].val)), pcf(tid0) = D31 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D30 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D29 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D28 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D27 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ (vhead = phead3 → rvowns(addr0) = Claimed(tid4, optval5.val)), pcf(tid0) = D26 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID ≠ None ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (vhead = phead3 → rvowns(vretRefs(tid4)) = Claimed(tid4, vs[ps[phead3].next].val)), pcf(tid0) = D25 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID ≠ None ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (vhead = phead3 → rvowns(vretRefs((ps ⊕ vs)[ps[phead3].next].deqID.tid)) = Claimed((ps ⊕ vs)[ps[phead3].next].deqID.tid, vs[ps[phead3].next].val)), pcf(tid0) = D24 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = vrvHp[rvref0] ∧ vrvHp[rvref0] = prvHp[rvref0], pcf(tid0) = D23 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = vrvHp[rvref0], pcf(tid0) = D22 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D21 → ps[phead3].next ≠ null ∧ phead3 ∈ orl ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid0) ∧ (ps[ps[phead3].next].deqID = None → vhead = phead3) ∧ noid(tid0, orl + qrl, ps[phead3].next, vs) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid0) → vhead = phead3), pcf(tid0) = D20 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid0) → vhead = phead3 ∧ obsEmpty0) ∧ (obsEmpty0 ⊃ vs[ps[phead3].next].deqID = Some(tid0) ∧ rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[phead3].next].val) ∧ (ps[ps[phead3].next].deqID = None → vhead = phead3) ∧ noid(tid0, orl + qrl, ps[phead3].next, vs) ;vs[ps[phead3].next].deqID ≠ None ∧ noid(tid0, orl + qrl, phead3, vs) ∧ rvowns(vretRefs(tid0)) = Pending(tid0) ), pcf(tid0) = D19 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = Val(vs[ps[phead3].next].val), pcf(tid0) = D18 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D17 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = ps[phead1].next ∧ ps[phead1].next = vs[phead1].next ∧ ps[phead1].next ≠ null, pcf(tid0) = D16 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = D15 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vrvHp[rvref0] = Empty ∧ prvHp[rvref0] = Empty, pcf(tid0) = D14 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vrvHp[rvref0] = Empty ∧ phead2 = null, pcf(tid0) = D13 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = null, pcf(tid0) = D12 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next), pcf(tid0) = D11 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead3].next) ∧ (phead3 ≠ phead1 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next), pcf(tid0) = D10 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead3].next) ∧ (phead3 ≠ phead1 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next), pcf(tid0) = D9 → phead1 ∈ orl ∨ phead1 ∈ qrl, pcf(tid0) = D8 → phead3 ∈ orl ∨ phead3 ∈ qrl, pcf(tid0) = D6 → (obsEmpty0 → optval5 = vrvHp[rvref0] ∧ vrvHp[rvref0] = prvHp[rvref0]) ∧ rvowns(vretRefs(tid0)) = (optval5 = Empty ∨ ¬ obsEmpty0 ⊃ Pending(tid0);Claimed(tid0, optval5.val)), pcf(tid0) = D5 → rvowns(vretRefs(tid0)) = Pending(tid0), pcf(tid0) = D4 → vretRefs(tid0) = rvref0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ∈ prvHp ∧ vretRefs(tid0) ≠ null, pcf(tid0) = D3 → rvowns(rvref0) = Pending(tid0) ∧ rvref0 ∈ vrvHp ∧ rvref0 ∈ prvHp ∧ rvref0 ≠ null, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid0) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) )
Used simplifier rules: ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist]
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E4, pcf(tid0) ≠ E10, tid3 ≠ tid0, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid0) = E11 → obsEmpty0 ∧ vs[phead1].next = phead0 ∧ vs[phead1].next ≠ null ∧ vs[vs[phead1].next].val = val1 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ ps[phead1].next = vs[phead1].next, 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), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval1 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, 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) = E11 ∧ phead1 = (orl + qrl).last ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val1 = val, pcf(tid0) = E11 → (ps[phead1].next ≠ vs[phead1].next ⊃ oneweakowns(tid0, phead0, owns, vs, ps);noowns(tid0, owns)), 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 → oneowns(tid0, phead0, owns, vs, ps), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E17 → noowns(tid0, owns), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl + qrl, phead2, vs), pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 → noid(tid0, orl + qrl, phead3, vs), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ 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) = E11 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → noid(tid0, orl + qrl, vhead, vs), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead ≠ phead3 → nextnottid(tid0, vhead, vs), pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ 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) = E11 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → nextnottid(tid0, vhead, vs), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr0 ∈ vrvHp ∧ addr0 ≠ null ∧ optval5 = Val(vs[phead2].val), pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty0 ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null ∧ rvowns(vretRefs(tid0)) = Claimed(tid0, vs[phead2].val) ∧ optval5 = Val(vs[phead2].val), pcf(tid0) = D5 ∨ pcf(tid0) = D6 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → vretRefs(tid0) = rvref0 ∧ pretRefs(tid0) = vretRefs(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null, pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → phead1 ∈ orl + qrl from phead3, pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → phead3 ≠ phead1 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl), pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 → phead3 ∈ orl ∧ vhead ∈ orl from phead3, 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 → ¬ obsEmpty0, pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0), pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → ¬ obsEmpty0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0), 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 → ps[phead0] = vs[phead0], 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 → vs[phead0] = mk(val1, None, null), 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 → phead0 ∈ ps ∧ phead0 ∈ vs ∧ phead0 ≠ null ∧ ¬ phead0 ∈ orl ∧ ¬ phead0 ∈ qrl, pcf(tid0) = E16 → owns(phead0) = Some(tid0), pcf(tid0) = E15 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next = ps[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = E14 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = E13 → owns(phead0) = Some(tid0), pcf(tid0) = E12 → obsEmpty0 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (vs[phead1].next ∈ orl ∨ vs[phead1].next ∈ qrl) ∧ vs[phead1].next = phead0 ∧ ps[phead1].next = vs[phead1].next ∧ vs[phead1].next ∈ ps ∧ vs[phead1].next ∈ vs ∧ vs[phead1].next ≠ null, pcf(tid0) = E9 → owns(phead0) = Some(tid0) ∧ phead2 = null ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vs[phead1].next ≠ null, pcf(tid0) = E8 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next) ∧ vs[phead1].next ≠ null, pcf(tid0) = E7 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next) ∧ vs[phead1].next ≠ null, pcf(tid0) = E6 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (ps[phead1].next = null → phead1 = (orl + qrl).last), pcf(tid0) = E5 → owns(phead0) = Some(tid0), pcf(tid0) = E3 → owns(phead0) = Some(tid0), pcf(tid0) = E2 → owns(phead0) = Some(tid0), pcf(tid0) = D34 → optval5 = vrvHp[vretRefs(tid0)] ∧ vrvHp[vretRefs(tid0)] = prvHp[pretRefs(tid0)] ∧ vretRefs(tid0) = pretRefs(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null ∧ rvowns(vretRefs(tid0)) = (vrvHp[vretRefs(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp[vretRefs(tid0)].val)), pcf(tid0) = D31 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D30 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D29 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D28 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D27 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ (vhead = phead3 → rvowns(addr0) = Claimed(tid4, optval5.val)), pcf(tid0) = D26 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID ≠ None ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (vhead = phead3 → rvowns(vretRefs(tid4)) = Claimed(tid4, vs[ps[phead3].next].val)), pcf(tid0) = D25 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID ≠ None ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (vhead = phead3 → rvowns(vretRefs((ps ⊕ vs)[ps[phead3].next].deqID.tid)) = Claimed((ps ⊕ vs)[ps[phead3].next].deqID.tid, vs[ps[phead3].next].val)), pcf(tid0) = D24 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = vrvHp[rvref0] ∧ vrvHp[rvref0] = prvHp[rvref0], pcf(tid0) = D23 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = vrvHp[rvref0], pcf(tid0) = D22 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D21 → ps[phead3].next ≠ null ∧ phead3 ∈ orl ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid0) ∧ (ps[ps[phead3].next].deqID = None → vhead = phead3) ∧ noid(tid0, orl + qrl, ps[phead3].next, vs) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid0) → vhead = phead3), pcf(tid0) = D20 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid0) → vhead = phead3 ∧ obsEmpty0) ∧ (obsEmpty0 ⊃ vs[ps[phead3].next].deqID = Some(tid0) ∧ rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[phead3].next].val) ∧ (ps[ps[phead3].next].deqID = None → vhead = phead3) ∧ noid(tid0, orl + qrl, ps[phead3].next, vs) ;vs[ps[phead3].next].deqID ≠ None ∧ noid(tid0, orl + qrl, phead3, vs) ∧ rvowns(vretRefs(tid0)) = Pending(tid0) ), pcf(tid0) = D19 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = Val(vs[ps[phead3].next].val), pcf(tid0) = D18 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D17 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = ps[phead1].next ∧ ps[phead1].next = vs[phead1].next ∧ ps[phead1].next ≠ null, pcf(tid0) = D16 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = D15 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vrvHp[rvref0] = Empty ∧ prvHp[rvref0] = Empty, pcf(tid0) = D14 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vrvHp[rvref0] = Empty ∧ phead2 = null, pcf(tid0) = D13 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = null, pcf(tid0) = D12 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next), pcf(tid0) = D11 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead3].next) ∧ (phead3 ≠ phead1 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next), pcf(tid0) = D10 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead3].next) ∧ (phead3 ≠ phead1 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next), pcf(tid0) = D9 → phead1 ∈ orl ∨ phead1 ∈ qrl, pcf(tid0) = D8 → phead3 ∈ orl ∨ phead3 ∈ qrl, pcf(tid0) = D6 → (obsEmpty0 → optval5 = vrvHp[rvref0] ∧ vrvHp[rvref0] = prvHp[rvref0]) ∧ rvowns(vretRefs(tid0)) = (optval5 = Empty ∨ ¬ obsEmpty0 ⊃ Pending(tid0);Claimed(tid0, optval5.val)), pcf(tid0) = D5 → rvowns(vretRefs(tid0)) = Pending(tid0), pcf(tid0) = D4 → vretRefs(tid0) = rvref0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ∈ prvHp ∧ vretRefs(tid0) ≠ null, pcf(tid0) = D3 → rvowns(rvref0) = Pending(tid0) ∧ rvref0 ∈ vrvHp ∧ rvref0 ∈ prvHp ∧ rvref0 ≠ null, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid0) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E4, pcf(tid0) ≠ E10, tid3 ≠ tid0, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid0) = D3 → rvowns(rvref0) = Pending(tid0) ∧ rvref0 ∈ vrvHp ∧ rvref0 ∈ prvHp ∧ rvref0 ≠ null, pcf(tid0) = D4 → vretRefs(tid0) = rvref0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ∈ prvHp ∧ vretRefs(tid0) ≠ null, pcf(tid0) = D5 → rvowns(vretRefs(tid0)) = Pending(tid0), pcf(tid0) = D8 → phead3 ∈ orl ∨ phead3 ∈ qrl, pcf(tid0) = D9 → phead1 ∈ orl ∨ phead1 ∈ qrl, pcf(tid0) = D10 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead3].next) ∧ (phead3 ≠ phead1 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next), pcf(tid0) = D11 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead3].next) ∧ (phead3 ≠ phead1 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next), pcf(tid0) = D12 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next), pcf(tid0) = D13 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = null, pcf(tid0) = D14 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vrvHp[rvref0] = Empty ∧ phead2 = null, pcf(tid0) = D15 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vrvHp[rvref0] = Empty ∧ prvHp[rvref0] = Empty, pcf(tid0) = D16 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = D17 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = ps[phead1].next ∧ ps[phead1].next = vs[phead1].next ∧ ps[phead1].next ≠ null, pcf(tid0) = D18 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D19 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = Val(vs[ps[phead3].next].val), pcf(tid0) = D20 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid0) → vhead = phead3 ∧ obsEmpty0) ∧ (obsEmpty0 ⊃ vs[ps[phead3].next].deqID = Some(tid0) ∧ rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[phead3].next].val) ∧ (ps[ps[phead3].next].deqID = None → vhead = phead3) ∧ noid(tid0, orl + qrl, ps[phead3].next, vs) ;vs[ps[phead3].next].deqID ≠ None ∧ noid(tid0, orl + qrl, phead3, vs) ∧ rvowns(vretRefs(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps[phead3].next ≠ null ∧ phead3 ∈ orl ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid0) ∧ (ps[ps[phead3].next].deqID = None → vhead = phead3) ∧ noid(tid0, orl + qrl, ps[phead3].next, vs) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid0) → vhead = phead3), pcf(tid0) = D22 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D23 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = vrvHp[rvref0], pcf(tid0) = D24 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = vrvHp[rvref0] ∧ vrvHp[rvref0] = prvHp[rvref0], pcf(tid0) = D25 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID ≠ None ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (vhead = phead3 → rvowns(vretRefs((ps ⊕ vs)[ps[phead3].next].deqID.tid)) = Claimed((ps ⊕ vs)[ps[phead3].next].deqID.tid, vs[ps[phead3].next].val)), pcf(tid0) = D26 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID ≠ None ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (vhead = phead3 → rvowns(vretRefs(tid4)) = Claimed(tid4, vs[ps[phead3].next].val)), pcf(tid0) = D27 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ (vhead = phead3 → rvowns(addr0) = Claimed(tid4, optval5.val)), pcf(tid0) = D28 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D29 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D30 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D31 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D34 → optval5 = vrvHp[vretRefs(tid0)] ∧ vrvHp[vretRefs(tid0)] = prvHp[pretRefs(tid0)] ∧ vretRefs(tid0) = pretRefs(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null ∧ rvowns(vretRefs(tid0)) = (vrvHp[vretRefs(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp[vretRefs(tid0)].val)), pcf(tid0) = E2 → owns(phead0) = Some(tid0), pcf(tid0) = E3 → owns(phead0) = Some(tid0), pcf(tid0) = E5 → owns(phead0) = Some(tid0), pcf(tid0) = E6 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (ps[phead1].next = null → phead1 = (orl + qrl).last), pcf(tid0) = E7 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next) ∧ vs[phead1].next ≠ null, pcf(tid0) = E8 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next) ∧ vs[phead1].next ≠ null, pcf(tid0) = E9 → owns(phead0) = Some(tid0) ∧ phead2 = null ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vs[phead1].next ≠ null, pcf(tid0) = E12 → obsEmpty0 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (vs[phead1].next ∈ orl ∨ vs[phead1].next ∈ qrl) ∧ vs[phead1].next = phead0 ∧ ps[phead1].next = vs[phead1].next ∧ vs[phead1].next ∈ ps ∧ vs[phead1].next ∈ vs ∧ vs[phead1].next ≠ null, pcf(tid0) = E13 → owns(phead0) = Some(tid0), pcf(tid0) = E14 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = E15 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next = ps[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = E16 → owns(phead0) = Some(tid0), 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 → phead0 ∈ ps ∧ phead0 ∈ vs ∧ phead0 ≠ null ∧ ¬ phead0 ∈ orl ∧ ¬ phead0 ∈ qrl, 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 → vs[phead0] = mk(val1, None, null), 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 → ps[phead0] = vs[phead0], pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → ¬ obsEmpty0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0), 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 → ¬ obsEmpty0, pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 → phead3 ∈ orl ∧ vhead ∈ orl from phead3, pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → phead3 ≠ phead1 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl), pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → phead1 ∈ orl + qrl from phead3, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty0 ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null ∧ rvowns(vretRefs(tid0)) = Claimed(tid0, vs[phead2].val) ∧ optval5 = Val(vs[phead2].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr0 ∈ vrvHp ∧ addr0 ≠ null ∧ optval5 = Val(vs[phead2].val), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead ≠ phead3 → nextnottid(tid0, vhead, vs), pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 → noid(tid0, orl + qrl, phead3, vs), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl + qrl, phead2, vs), 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 → oneowns(tid0, phead0, owns, vs, ps), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, 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), pcf(tid0) = D5 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → vretRefs(tid0) = rvref0 ∧ pretRefs(tid0) = vretRefs(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null, pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ 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) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → nextnottid(tid0, vhead, vs), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ 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) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → noid(tid0, orl + qrl, vhead, vs), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E17 → noowns(tid0, owns), 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 → val1 = val, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D34 → optval1 = vrvHp[vretRefs(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid0) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) )
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, vs[vs[(orl + qrl).last].next].val = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], alsf(tid3) = mkls(tid3, obsEmpty1, vs[vs[(orl + qrl).last].next].val, optval3, val2, optval4), alsf(tid0) = mkls(tid0, obsEmpty, val, optval1, val0, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val1, optval5, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval6, phead3, tid4, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E4, pcf(tid0) ≠ E10, tid3 ≠ tid0, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid0) = D3 → rvowns(rvref0) = Pending(tid0) ∧ rvref0 ∈ vrvHp ∧ rvref0 ∈ prvHp ∧ rvref0 ≠ null, pcf(tid0) = D4 → vretRefs(tid0) = rvref0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ∈ prvHp ∧ vretRefs(tid0) ≠ null, pcf(tid0) = D5 → rvowns(vretRefs(tid0)) = Pending(tid0), pcf(tid0) = D8 → phead3 ∈ orl ∨ phead3 ∈ qrl, pcf(tid0) = D9 → phead1 ∈ orl ∨ phead1 ∈ qrl, pcf(tid0) = D10 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead3].next) ∧ (phead3 ≠ phead1 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next), pcf(tid0) = D11 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead3].next) ∧ (phead3 ≠ phead1 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next), pcf(tid0) = D12 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next), pcf(tid0) = D13 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = null, pcf(tid0) = D14 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vrvHp[rvref0] = Empty ∧ phead2 = null, pcf(tid0) = D15 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vrvHp[rvref0] = Empty ∧ prvHp[rvref0] = Empty, pcf(tid0) = D16 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = D17 → (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = ps[phead1].next ∧ ps[phead1].next = vs[phead1].next ∧ ps[phead1].next ≠ null, pcf(tid0) = D18 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D19 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = Val(vs[ps[phead3].next].val), pcf(tid0) = D20 → ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid0) → vhead = phead3 ∧ obsEmpty0) ∧ (obsEmpty0 ⊃ vs[ps[phead3].next].deqID = Some(tid0) ∧ rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[phead3].next].val) ∧ (ps[ps[phead3].next].deqID = None → vhead = phead3) ∧ noid(tid0, orl + qrl, ps[phead3].next, vs) ;vs[ps[phead3].next].deqID ≠ None ∧ noid(tid0, orl + qrl, phead3, vs) ∧ rvowns(vretRefs(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps[phead3].next ≠ null ∧ phead3 ∈ orl ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid0) ∧ (ps[ps[phead3].next].deqID = None → vhead = phead3) ∧ noid(tid0, orl + qrl, ps[phead3].next, vs) ∧ (qrl ≠ [] ∧ vs[qrl.head].deqID = Some(tid0) → vhead = phead3), pcf(tid0) = D22 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D23 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = vrvHp[rvref0], pcf(tid0) = D24 → ps[ps[phead3].next].deqID ≠ None ∧ phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ optval5 = vrvHp[rvref0] ∧ vrvHp[rvref0] = prvHp[rvref0], pcf(tid0) = D25 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID ≠ None ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (vhead = phead3 → rvowns(vretRefs((ps ⊕ vs)[ps[phead3].next].deqID.tid)) = Claimed((ps ⊕ vs)[ps[phead3].next].deqID.tid, vs[ps[phead3].next].val)), pcf(tid0) = D26 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID ≠ None ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ optval5 = Val(vs[ps[phead3].next].val) ∧ (vhead = phead3 → rvowns(vretRefs(tid4)) = Claimed(tid4, vs[ps[phead3].next].val)), pcf(tid0) = D27 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ (vhead = phead3 → rvowns(addr0) = Claimed(tid4, optval5.val)), pcf(tid0) = D28 → phead3 ∈ orl ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ vs[ps[phead3].next].deqID = Some(tid4) ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D29 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D30 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next ∧ rvowns(addr0) = Claimed(tid4, optval5.val), pcf(tid0) = D31 → phead3 ∈ orl ∧ ps[ps[phead3].next].deqID ≠ None ∧ ps[phead3].next ≠ null ∧ phead2 = ps[phead3].next, pcf(tid0) = D34 → optval5 = vrvHp[vretRefs(tid0)] ∧ vrvHp[vretRefs(tid0)] = prvHp[pretRefs(tid0)] ∧ vretRefs(tid0) = pretRefs(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null ∧ rvowns(vretRefs(tid0)) = (vrvHp[vretRefs(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp[vretRefs(tid0)].val)), pcf(tid0) = E2 → owns(phead0) = Some(tid0), pcf(tid0) = E3 → owns(phead0) = Some(tid0), pcf(tid0) = E5 → owns(phead0) = Some(tid0), pcf(tid0) = E6 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (ps[phead1].next = null → phead1 = (orl + qrl).last), pcf(tid0) = E7 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next) ∧ vs[phead1].next ≠ null, pcf(tid0) = E8 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (phead2 ≠ null → phead2 = vs[phead1].next) ∧ vs[phead1].next ≠ null, pcf(tid0) = E9 → owns(phead0) = Some(tid0) ∧ phead2 = null ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ vs[phead1].next ≠ null, pcf(tid0) = E12 → obsEmpty0 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ (vs[phead1].next ∈ orl ∨ vs[phead1].next ∈ qrl) ∧ vs[phead1].next = phead0 ∧ ps[phead1].next = vs[phead1].next ∧ vs[phead1].next ∈ ps ∧ vs[phead1].next ∈ vs ∧ vs[phead1].next ≠ null, pcf(tid0) = E13 → owns(phead0) = Some(tid0), pcf(tid0) = E14 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = E15 → owns(phead0) = Some(tid0) ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl) ∧ phead2 = vs[phead1].next ∧ vs[phead1].next = ps[phead1].next ∧ vs[phead1].next ≠ null, pcf(tid0) = E16 → owns(phead0) = Some(tid0), 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 → phead0 ∈ ps ∧ phead0 ∈ vs ∧ phead0 ≠ null ∧ ¬ phead0 ∈ orl ∧ ¬ phead0 ∈ qrl, 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 → vs[phead0] = mk(val1, None, null), 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 → ps[phead0] = vs[phead0], pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → ¬ obsEmpty0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty0 ∧ rvowns(vretRefs(tid0)) = Pending(tid0), 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 → ¬ obsEmpty0, pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 → phead3 ∈ orl ∧ vhead ∈ orl from phead3, pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → phead3 ≠ phead1 ∧ (phead1 ∈ orl ∨ phead1 ∈ qrl), pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → phead1 ∈ orl + qrl from phead3, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty0 ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null ∧ rvowns(vretRefs(tid0)) = Claimed(tid0, vs[phead2].val) ∧ optval5 = Val(vs[phead2].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr0 ∈ vrvHp ∧ addr0 ≠ null ∧ optval5 = Val(vs[phead2].val), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead ≠ phead3 → nextnottid(tid0, vhead, vs), pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 → noid(tid0, orl + qrl, phead3, vs), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl + qrl, phead2, vs), 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 → oneowns(tid0, phead0, owns, vs, ps), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval5, 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), pcf(tid0) = D5 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 → vretRefs(tid0) = rvref0 ∧ pretRefs(tid0) = vretRefs(tid0) ∧ vretRefs(tid0) ∈ vrvHp ∧ vretRefs(tid0) ≠ null, pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ 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) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → nextnottid(tid0, vhead, vs), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ 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) = E12 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 ∨ pcf(tid0) = E17 ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 → noid(tid0, orl + qrl, vhead, vs), pcf(tid0) = crashed ∨ pcf(tid0) = idle ∨ pcf(tid0) = ready ∨ pcf(tid0) = D1 ∨ pcf(tid0) = D2 ∨ pcf(tid0) = D3 ∨ pcf(tid0) = D4 ∨ pcf(tid0) = D5 ∨ pcf(tid0) = D7 ∨ pcf(tid0) = D8 ∨ pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 ∨ pcf(tid0) = D16 ∨ pcf(tid0) = D17 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 ∨ pcf(tid0) = D31 ∨ pcf(tid0) = D32 ∨ pcf(tid0) = D33 ∨ pcf(tid0) = D34 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E12 ∨ pcf(tid0) = E17 → noowns(tid0, owns), 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 → val1 = val, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D34 → optval1 = vrvHp[vretRefs(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ (pcf(tid0) = D20 ⊃ obsEmpty0 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ obsEmpty0 → ps[phead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID = None ↔ ps[phead2].deqID = None) ) |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next, phead2
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| owns(vhead4).tid = tid3, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty1, val1, optval3, val2, optval4), apcf(tid3) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid3) = mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), vhead1 = (orl + qrl).last, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid3, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)), lsf (tid0 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)) ), pcf (tid0 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, vhead1, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(tid3)) )), mkstate(mkgs(content(qrl, ps) + val1 '), alsf(tid3; mkls(tid3, obsEmpty1, val1, optval3, val2, optval4)), apcf(tid3; resEnq))), ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid3) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val0 = val1, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid3) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval3 = optval1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty0 ∨ pcf(tid3) = D34 → optval3 = vrvHp[vretRefs(tid3)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = D16 ∨ pcf(tid0) = E14 ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(owns(vhead4).tid)), lsf (tid0 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(owns(vhead4).tid)) ), pcf (tid0 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(owns(vhead4).tid)) )), mkstate (mkgs(content(qrl, ps) + val1 '), alsf(owns(vhead4).tid; mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4)), apcf(owns(vhead4).tid; resEnq))), ¬ 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = D16 ∨ pcf(tid0) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(owns(vhead4).tid)), lsf (tid0 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(owns(vhead4).tid)) ), pcf (tid0 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(owns(vhead4).tid)) )), mkstate (mkgs(content(qrl, ps) + val1 '), alsf(owns(vhead4).tid; mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4)), apcf(owns(vhead4).tid; resEnq))), ¬ 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = D16 ∨ pcf(tid0) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
lsf(tid0).tid = tid0, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(owns(vhead4).tid)), lsf (tid0 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(owns(vhead4).tid)) ), pcf (tid0 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(owns(vhead4).tid)) )), mkstate (mkgs(content(qrl, ps) + val1 '), alsf(owns(vhead4).tid; mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4)), apcf(owns(vhead4).tid; resEnq))), ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = D16 ∨ pcf(tid0) = E14 ⊦
Used terms: tid0
| lsf(tid0).tid = tid0, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(owns(vhead4).tid)), lsf (tid0 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(owns(vhead4).tid)) ), pcf (tid0 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0), doEnq(owns(vhead4).tid)) )), mkstate (mkgs(content(qrl, ps) + val1 '), alsf(owns(vhead4).tid; mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4)), apcf(owns(vhead4).tid; resEnq))), ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = D16 ∨ pcf(tid0) = E14 ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), lsf (tid4 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ), pcf (tid4 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) )), mkstate (mkgs(content(qrl, ps) + val1 '), alsf(owns(vhead4).tid; mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4)), apcf(owns(vhead4).tid; resEnq))), ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid4) = D16 ∨ pcf(tid4) = E14 ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), lsf (tid4 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ), pcf (tid4 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) )), mkstate (mkgs(content(qrl, ps) + val1 '), alsf(owns(vhead4).tid; mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4)), apcf(owns(vhead4).tid; resEnq))), ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid4) = D16 ∨ pcf(tid4) = E14 ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid4), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid4), pcf(tid4), alsf(tid4)), 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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), lsf (tid4 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ), pcf (tid4 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) )), mkstate (mkgs(content(qrl, ps) + val1 '), alsf(owns(vhead4).tid; mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4)), apcf(owns(vhead4).tid; resEnq))), ¬ 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid4) = D16 ∨ pcf(tid4) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
Used terms: tid4
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid4), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid4), pcf(tid4), alsf(tid4)), 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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), lsf (tid4 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ), pcf (tid4 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) )), mkstate (mkgs(content(qrl, ps) + val1 '), alsf(owns(vhead4).tid; mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4)), apcf(owns(vhead4).tid; resEnq))), ¬ 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid4) = D16 ∨ pcf(tid4) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), lsf (tid4 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ), pcf (tid4 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) )), mkstate (mkgs(content(qrl, ps) + val1 '), alsf(owns(vhead4).tid; mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4)), apcf(owns(vhead4).tid; resEnq))), ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid4) = D16 ∨ pcf(tid4) = E14 ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, ¬ abs (mkstate (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), lsf (tid4 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ), pcf (tid4 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) )), mkstate (mkgs(content(qrl, ps) + val1 '), alsf(owns(vhead4).tid; mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4)), apcf(owns(vhead4).tid; resEnq))), ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid4) = D16 ∨ pcf(tid4) = E14 ⊦ |
⊦ 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))
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid4) = D16 ∨ pcf(tid4) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, content(qrl, ps) + val1 ' ≠ content (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) .qrl, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) .ps) ∨ (∃ tid. ¬ ( absls (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), lsf (tid4 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ) (tid), pcf (tid4 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ) (tid), alsf(owns(vhead4).tid; mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4))(tid)) ∧ abspc (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), lsf (tid4 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ) (tid), pcf (tid4 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ) (tid)) = apcf(owns(vhead4).tid; resEnq)(tid))) ⊦
Used terms: alsf (owns(vhead4).tid ; mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4) ), lsf (tid4 ; lstepf (mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ), content(qrl, ps) + val1 ', apcf(owns(vhead4).tid; resEnq), pcf (tid4 ; pcstepf (mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ), gstepf (mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).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)) |
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid4) = D16 ∨ pcf(tid4) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, content(qrl, ps) + val1 ' ≠ content (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) .qrl, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) .ps) ∨ (∃ tid. ¬ ( absls (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), lsf (tid4 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ) (tid), pcf (tid4 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ) (tid), alsf(owns(vhead4).tid; mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4))(tid)) ∧ abspc (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), lsf (tid4 ; lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ) (tid), pcf (tid4 ; pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) ) (tid)) = apcf(owns(vhead4).tid; resEnq)(tid))) ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid4) = D16 ∨ pcf(tid4) = E14, content(qrl, ps) + val1 ' ≠ content (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) .qrl, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) .ps) ∨ ¬ absls (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid4) = D16 ∨ pcf(tid4) = E14, content(qrl, ps) + val1 ' ≠ content (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) .qrl, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) .ps) ∨ ¬ absls (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), content(qrl, ps) + val1 ' ≠ content(qrl0, ps0) ∨ ¬ absls (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), pcf(tid4) = D16 ∨ pcf(tid4) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
Used simplifier rules: ⊦ ( ( ( ( ( ( ( ( ( ((ps = gs.ps ∧ vs = gs.vs) ∧ phead = gs.phead) ∧ vhead = gs.vhead) ∧ vtail = gs.vtail) ∧ vretRefs = gs.vretRefs) ∧ pretRefs = gs.pretRefs) ∧ vrvHp = gs.vrvHp) ∧ prvHp = gs.prvHp) ∧ qrl = gs.qrl) ∧ orl = gs.orl) ∧ owns = gs.owns) ∧ rvowns = gs.rvowns ↔ gs = mkgs (ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns); (elim) Used terms: qrl0, ps0, phead4, vrvHp0, vretRefs0, vhead1, vtail, gstepf (mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), owns0, rvowns0, orl0, prvHp0, pretRefs0, vs0
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), content(qrl, ps) + val1 ' ≠ content(qrl0, ps0) ∨ ¬ absls (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), pcf(tid4) = D16 ∨ pcf(tid4) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid4) = D16 ∨ pcf(tid4) = E14, content(qrl, ps) + val1 ' ≠ content(qrl0, ps0) ∨ ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid4) = D16 ∨ pcf(tid4) = E14, content(qrl, ps) + val1 ' ≠ content(qrl0, ps0) ∨ ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), content(qrl, ps) + val1 ' ≠ content(qrl0, ps0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), content(qrl, ps) + val1 ' ≠ content(qrl0, ps0) ∨ ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), pcf(tid4) = D16 ∨ pcf(tid4) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), content(qrl, ps) + val1 ' ≠ content(qrl0, ps0) ∨ ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), pcf(tid4) = D16 ∨ pcf(tid4) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
Used formulas: content(qrl, ps) + val1 ' ≠ content(qrl0, ps0)
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), content(qrl, ps) + val1 ' ≠ content(qrl0, ps0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), content(qrl, ps) + val1 ' ≠ content(qrl0, ps0) ∨ ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), pcf(tid4) = D16 ∨ pcf(tid4) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), content(qrl, ps) + val1 ' ≠ content(qrl0, ps0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid4) = D16 ∨ pcf(tid4) = E14 ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), content(qrl, ps) + val1 ' ≠ content(qrl0, ps0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid4) = D16 ∨ pcf(tid4) = E14 ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = D16, content(qrl, ps) + val1 ' ≠ content(qrl0, ps0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = E14, content(qrl, ps) + val1 ' ≠ content(qrl0, ps0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = D16, content(qrl, ps) + val1 ' ≠ content(qrl0, ps0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4) = D16, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val ', orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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 ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].val '; (s) in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list[reflist] ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) = mkgs (ps1, ps2, phead2, phead3, phead4, vretRefs1, vretRefs2, vrvHp1, vrvHp2, qrl1, qrl2, owns0, rvowns0) ↔ ps = ps1 ∧ ps0 = ps2 ∧ phead = phead2 ∧ phead0 = phead3 ∧ phead1 = phead4 ∧ vretRefs = vretRefs1 ∧ vretRefs0 = vretRefs2 ∧ vrvHp = vrvHp1 ∧ vrvHp0 = vrvHp2 ∧ qrl = qrl1 ∧ qrl0 = qrl2 ∧ owns = owns0 ∧ rvowns = rvowns0; (ws) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns:= owns0 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns0, rvowns); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (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) .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) .lst = node0; (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) ⊦ 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) .vs = ps0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ gstepf(gs, ls, D16, a) = ( ( gs .ps:= gs.ps [ls.lst, gs.ps[ls.lst].next:= gs.vs[ls.lst].next ]) .qrl:= (ls.lst = (gs.orl + gs.qrl).last ⊃ gs.qrl + ls.nxt;gs.qrl)) .owns:= (ls.lst = (gs.orl + gs.qrl).last ⊃ gs.owns(ls.nxt; None);gs.owns); (s)
| abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4) = D16, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val ', orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)))
abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = D16, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val ', orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, D16 = D3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, D16 = D4 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, D16 = D5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = D6 → ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ]) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ∨ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), D16 = D8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, D16 = D9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, D16 = D10 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), D16 = D11 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), D16 = D12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next), D16 = D13 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, D16 = D14 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, D16 = D15 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty, D16 = D16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = D17 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = D18 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, D16 = D19 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), D16 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success) ∧ (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ; mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ), D16 = D21 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first), D16 = D22 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, D16 = D23 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], D16 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], D16 = D25 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), D16 = D26 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), D16 = D27 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), D16 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), D16 = D29 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), D16 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), D16 = D31 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, D16 = D34 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), D16 = E2 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E6 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail), D16 = E7 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), D16 = E8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), D16 = E9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), D16 = E10 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), D16 = E11 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), D16 = E12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null, D16 = E13 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E14 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = E15 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E2 ∨ D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, D16 = E4 ∨ D16 = E10 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null), D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = D13 ∨ D16 = D14 ∨ D16 = D15 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E2 ∨ D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success, D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), D16 = idle ∨ D16 = ready ∨ D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∨ D16 = E11 ∨ D16 = E12 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 ∨ D16 = E17 ∨ D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ∨ D16 = D34 → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), D16 = crashed ∨ D16 = idle ∨ D16 = ready ∨ D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∨ D16 = E11 ∨ D16 = E12 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 ∨ D16 = E17 ∨ D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ∨ D16 = D34 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D18 ∨ D16 = D19 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), D16 = D22 ∨ D16 = D23 ∨ D16 = D24 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), D16 = crashed ∨ D16 = idle ∨ D16 = ready ∨ D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ∨ D16 = D34 ∨ D16 = E1 ∨ D16 = E12 ∨ D16 = E17 → noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns), D16 = E2 ∨ D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps), D16 = E10 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), D16 = E11 → ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ), D16 = E4 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦
Used terms: mkgs (ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16
| ⊦ 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))) |
| abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = D16, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val ', orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, D16 = D3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, D16 = D4 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, D16 = D5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = D6 → ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ]) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ∨ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), D16 = D8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, D16 = D9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, D16 = D10 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), D16 = D11 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), D16 = D12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next), D16 = D13 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, D16 = D14 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, D16 = D15 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty, D16 = D16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = D17 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = D18 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, D16 = D19 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), D16 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success) ∧ (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ; mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ), D16 = D21 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first), D16 = D22 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, D16 = D23 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], D16 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], D16 = D25 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), D16 = D26 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), D16 = D27 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), D16 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), D16 = D29 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), D16 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), D16 = D31 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, D16 = D34 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), D16 = E2 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E6 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail), D16 = E7 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), D16 = E8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), D16 = E9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), D16 = E10 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), D16 = E11 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), D16 = E12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null, D16 = E13 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E14 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = E15 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E2 ∨ D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, D16 = E4 ∨ D16 = E10 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null), D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = D13 ∨ D16 = D14 ∨ D16 = D15 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E2 ∨ D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success, D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), D16 = idle ∨ D16 = ready ∨ D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∨ D16 = E11 ∨ D16 = E12 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 ∨ D16 = E17 ∨ D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ∨ D16 = D34 → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), D16 = crashed ∨ D16 = idle ∨ D16 = ready ∨ D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∨ D16 = E11 ∨ D16 = E12 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 ∨ D16 = E17 ∨ D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ∨ D16 = D34 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D18 ∨ D16 = D19 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), D16 = D22 ∨ D16 = D23 ∨ D16 = D24 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), D16 = crashed ∨ D16 = idle ∨ D16 = ready ∨ D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ∨ D16 = D34 ∨ D16 = E1 ∨ D16 = E12 ∨ D16 = E17 → noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns), D16 = E2 ∨ D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps), D16 = E10 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), D16 = E11 → ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ), D16 = E4 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16) = apcf(tid4), alsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls(owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs0[(orl0 + qrl).last].next).tid), mkls(owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, val1, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid4) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E1 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E2 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E3 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E5 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E6 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E7 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E8 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E9 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E14 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D23 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D24 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vs0[(orl0 + qrl).last].next).tid)], pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D22 → optval3 = optval1, ( pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D12 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty0 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦
Used simplifier rules: ⊦ 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) listp-nextoflast: ⊦ listp(rl, vs, ps, owns) ∧ vs[rl.last].next ≠ null → vs[rl.last].next ∈ vs ∧ vs[rl.last].next ∈ ps ∧ ps[vs[rl.last].next] = vs[vs[rl.last].next] ∧ ps[vs[rl.last].next].deqID = None ∧ ps[vs[rl.last].next].next = null ∧ weak?(owns(vs[rl.last].next)); (forward) from specification DMSQ ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) ⊦ D3 ≠ D16; (s) ⊦ D4 ≠ D16; (s) ⊦ D5 ≠ D16; (s) ⊦ D6 ≠ D16; (s) ⊦ D8 ≠ D16; (s) ⊦ D9 ≠ D16; (s) ⊦ D10 ≠ D16; (s) ⊦ D11 ≠ D16; (s) ⊦ D12 ≠ D16; (s) ⊦ D13 ≠ D16; (s) ⊦ D14 ≠ D16; (s) ⊦ D15 ≠ D16; (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) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ x.last ∈ x ↔ x ≠ []; (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) ⊦ D16 ≠ D17; (s) ⊦ D16 ≠ D18; (s) ⊦ D16 ≠ D19; (s) ⊦ D16 ≠ D20; (s) ⊦ D16 ≠ D21; (s) ⊦ D16 ≠ D22; (s) ⊦ D16 ≠ D23; (s) ⊦ D16 ≠ D24; (s) ⊦ D16 ≠ D25; (s) ⊦ D16 ≠ D26; (s) ⊦ D16 ≠ D27; (s) ⊦ D16 ≠ D28; (s) ⊦ D16 ≠ D29; (s) ⊦ D16 ≠ D30; (s) ⊦ D16 ≠ D31; (s) ⊦ D16 ≠ D34; (s) ⊦ D16 ≠ E2; (s) ⊦ D16 ≠ E3; (s) ⊦ D16 ≠ E5; (s) ⊦ D16 ≠ E6; (s) ⊦ D16 ≠ E7; (s) ⊦ D16 ≠ E8; (s) ⊦ D16 ≠ E9; (s) ⊦ D16 ≠ E10; (s) ⊦ D16 ≠ E11; (s) ⊦ D16 ≠ E12; (s) ⊦ D16 ≠ E13; (s) ⊦ D16 ≠ E14; (s) ⊦ D16 ≠ E15; (s) ⊦ D16 ≠ E16; (s) ⊦ D16 ≠ 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) .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) ⊦ D7 ≠ D16; (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 ≠ D16; (s) ⊦ D1 ≠ D16; (s) ⊦ D16 ≠ E17; (s) ⊦ D16 ≠ E1; (s) ⊦ D16 ≠ ready; (s) ⊦ D16 ≠ idle; (s) ⊦ D16 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16) = apcf(tid4), alsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls(owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs0[(orl0 + qrl).last].next).tid), mkls(owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, val1, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid4) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E1 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E2 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E3 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E5 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E6 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E7 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E8 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E9 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E14 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D23 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D24 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vs0[(orl0 + qrl).last].next).tid)], pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D22 → optval3 = optval1, ( pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D12 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty0 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid4) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ weak?(opttid) → (tid = opttid.tid ↔ opttid = Weak(tid)); (elim) Used terms: owns(vs0[(orl0 + qrl).last].next), tid
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid4) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid4) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ weak?(Weak(tid)); (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid4) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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 ) ) ) ) ) )
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, (D16 = idle ⊃ idle ;(D16 = ready ⊃ ready ;(D16 = crashed ⊃ crashed ;( D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∧ ( mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success → mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null) ∨ D16 = E11 ∧ mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 ⊃ invEnq ;(D16 = E10 ∨ D16 = E11 ∨ D16 = E12 ∨ D16 = E4 ∨ D16 = E13 ∨ D16 = E17 ⊃ resEnq ;( D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∧ ¬ mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∧ ( mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID = None) ∨ D16 = D21 ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID = None ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid4), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid4) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11 ⊦
Used terms: mkgs (ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16
| ⊦ 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 ) ) ) ) ) ) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, (D16 = idle ⊃ idle ;(D16 = ready ⊃ ready ;(D16 = crashed ⊃ crashed ;( D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∧ ( mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success → mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null) ∨ D16 = E11 ∧ mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 ⊃ invEnq ;(D16 = E10 ∨ D16 = E11 ∨ D16 = E12 ∨ D16 = E4 ∨ D16 = E13 ∨ D16 = E17 ⊃ resEnq ;( D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∧ ¬ mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∧ ( mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID = None) ∨ D16 = D21 ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID = None ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid4), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid4) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid4) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D14 ≠ D16; (s) ⊦ D13 ≠ D16; (s) ⊦ D12 ≠ D16; (s) ⊦ D11 ≠ D16; (s) ⊦ D10 ≠ D16; (s) ⊦ D9 ≠ D16; (s) ⊦ D8 ≠ D16; (s) ⊦ D7 ≠ D16; (s) ⊦ D6 ≠ D16; (s) ⊦ D5 ≠ D16; (s) ⊦ D4 ≠ D16; (s) ⊦ D3 ≠ D16; (s) ⊦ D2 ≠ D16; (s) ⊦ D1 ≠ D16; (s) ⊦ D16 ≠ E17; (s) ⊦ D16 ≠ E13; (s) ⊦ D16 ≠ E4; (s) ⊦ D16 ≠ E12; (s) ⊦ D16 ≠ E11; (s) ⊦ D16 ≠ E10; (s) ⊦ D16 ≠ E16; (s) ⊦ D16 ≠ E15; (s) ⊦ D16 ≠ E14; (s) ⊦ D16 ≠ E9; (s) ⊦ D16 ≠ E8; (s) ⊦ D16 ≠ E7; (s) ⊦ D16 ≠ E6; (s) ⊦ D16 ≠ E5; (s) ⊦ D16 ≠ E3; (s) ⊦ D16 ≠ E2; (s) ⊦ D16 ≠ E1; (s) ⊦ D16 ≠ crashed; (s) ⊦ D16 ≠ ready; (s) ⊦ D16 ≠ idle; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid4) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)])
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1).tid = alsf(tid4).tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid4), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid4) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success → mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null) ∨ D16 = E11 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1).value = alsf(tid4).ival, (D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14) ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1).nxt = null → alsf(tid4).obsEmpty, D16 = D20 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID ≠ None ∨ D16 = D21 ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID ≠ None ∨ D16 = D22 → alsf(tid4).oval = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1).optval, D16 = D15 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D6 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = D34 → alsf(tid4).oval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11 ⊦
Used terms: mkgs (ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)
| ⊦ 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)]) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1).tid = alsf(tid4).tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid4), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid4) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success → mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null) ∨ D16 = E11 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1).value = alsf(tid4).ival, (D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14) ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1).nxt = null → alsf(tid4).obsEmpty, D16 = D20 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID ≠ None ∨ D16 = D21 ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID ≠ None ∨ D16 = D22 → alsf(tid4).oval = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1).optval, D16 = D15 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D6 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = D34 → alsf(tid4).oval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), tid4 = alsf(tid4).tid, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid4) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D16 ≠ E16; (s) ⊦ D16 ≠ E15; (s) ⊦ D16 ≠ E14; (s) ⊦ D16 ≠ E13; (s) ⊦ D16 ≠ E11; (s) ⊦ D16 ≠ E10; (s) ⊦ D16 ≠ E9; (s) ⊦ D16 ≠ E8; (s) ⊦ D16 ≠ E7; (s) ⊦ D16 ≠ E6; (s) ⊦ D16 ≠ E5; (s) ⊦ D16 ≠ E4; (s) ⊦ D16 ≠ E3; (s) ⊦ D16 ≠ E2; (s) ⊦ D16 ≠ E1; (s) ⊦ D14 ≠ D16; (s) ⊦ D13 ≠ D16; (s) ⊦ D12 ≠ D16; (s) ⊦ D11 ≠ D16; (s) ⊦ D10 ≠ D16; (s) ⊦ D16 ≠ D22; (s) ⊦ D16 ≠ D21; (s) ⊦ D16 ≠ D20; (s) ⊦ D16 ≠ D34; (s) ⊦ D6 ≠ D16; (s) ⊦ D16 ≠ D24; (s) ⊦ D16 ≠ D23; (s) ⊦ D15 ≠ D16; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), tid4 = alsf(tid4).tid, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid4) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid4) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid4), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), tid4 = tid1, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid4) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11 ⊦
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, obsEmpty, alsf(tid4), oval, tid, optval
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid4) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid4), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid4), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs(tid4) = vretRefs(tid4), rvowns(vretRefs(tid4)) = Pending(tid4), tid4 = tid1, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid4, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid4) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid1) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid1) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid1) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11 ⊦
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, vs0[(orl0 + qrl).last].next
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid1) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + vs0[vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid1) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + vs0[vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid1) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), obsEmpty0, owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E10, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + vs0[vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid1) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E11, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + vs0[vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid1) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), obsEmpty0, owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E10, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + vs0[vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid1) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E10, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + vs0[vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], vretRefs(tid1) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D22 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D10 ≠ E10; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E10, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + vs0[vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], vretRefs(tid1) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + vs0[vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), E10 = D3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D4 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = D6 → ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ]) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ∨ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ), E10 = D8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E10 = D10 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E10 = D11 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E10 = D12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next), E10 = D13 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E10 = D14 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E10 = D15 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty, E10 = D16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = D17 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = D18 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D19 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success) ∧ (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ; mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ), E10 = D21 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first), E10 = D22 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D23 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E10 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E10 = D25 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E10 = D26 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E10 = D27 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E10 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D29 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D31 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D34 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ), E10 = E2 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E6 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail), E10 = E7 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E10 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E10 = E11 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E10 = E12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null, E10 = E13 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E14 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = E15 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, E10 = E4 ∨ E10 = E10 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null), E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = D13 ∨ E10 = D14 ∨ E10 = D15 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success, E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 ∨ E10 = E1 ∨ E10 = E12 ∨ E10 = E17 → noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps), E10 = E10 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), E10 = E11 → ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ), E10 = E4 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10
| ⊦ 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + vs0[vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), E10 = D3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D4 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = D6 → ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ]) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ∨ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ), E10 = D8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E10 = D10 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E10 = D11 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E10 = D12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next), E10 = D13 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E10 = D14 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E10 = D15 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty, E10 = D16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = D17 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = D18 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D19 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success) ∧ (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ; mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ), E10 = D21 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first), E10 = D22 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D23 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E10 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E10 = D25 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E10 = D26 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E10 = D27 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E10 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D29 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D31 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D34 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ), E10 = E2 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E6 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail), E10 = E7 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E10 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E10 = E11 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E10 = E12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null, E10 = E13 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E14 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = E15 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, E10 = E4 ∨ E10 = E10 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null), E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = D13 ∨ E10 = D14 ∨ E10 = D15 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success, E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 ∨ E10 = E1 ∨ E10 = E12 ∨ E10 = E17 → noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps), E10 = E10 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), E10 = E11 → ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ), E10 = E4 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid1, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: fw-weak-oneweakowns: ⊦ oneweakowns(tid, r0, owns, vs, ps) ∧ owns(r) = Weak(tid) ∧ r ∈ ps ∧ r ∈ vs → r = r0; (forward) from specification DMSQ ⊦ D3 ≠ E10; (s) ⊦ D4 ≠ E10; (s) ⊦ D5 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D8 ≠ E10; (s) ⊦ D9 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D16 ≠ E10; (s) ⊦ D17 ≠ E10; (s) ⊦ D18 ≠ E10; (s) ⊦ D19 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D25 ≠ E10; (s) ⊦ D26 ≠ E10; (s) ⊦ D27 ≠ E10; (s) ⊦ D28 ≠ E10; (s) ⊦ D29 ≠ E10; (s) ⊦ D30 ≠ E10; (s) ⊦ D31 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E9 ≠ E10; (s) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ x + a ' = y + b ' ↔ x = y ∧ a = b; (ws) ⊦ 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) .owns = owns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) .value = value; (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) .success ↔ success; (s) ⊦ E10 ≠ E11; (s) ⊦ E10 ≠ E12; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s) ⊦ E4 ≠ E10; (s) ⊦ D33 ≠ E10; (s) ⊦ D32 ≠ E10; (s) ⊦ D7 ≠ E10; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ E1 ≠ E10; (s) ⊦ E10 ≠ ready; (s) ⊦ E10 ≠ idle; (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) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ E17; (s) ⊦ D2 ≠ E10; (s) ⊦ D1 ≠ E10; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid1, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E10, pretRefs(tid1) = vretRefs(tid1), qrl = vhead1 + qrl0, rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], qrl ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ content([], ps) = []; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl, vhead1, y
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E10, pretRefs(tid1) = vretRefs(tid1), qrl = vhead1 + qrl0, rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], qrl ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(vhead1 ' + qrl0).last].next].deqID = None, ps[vhead1].deqID = None, vs0[vs0[(vhead1 ' + qrl0).last].next].next = null, ps[vs0[(vhead1 ' + qrl0).last].next] = vs0[vs0[(vhead1 ' + qrl0).last].next], abspc (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval1, vs0[(vhead1 ' + qrl0).last].next, nd0, true, (vhead1 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls (tid1, val3, optval5, vhead0, nd1, false, (vhead1 ' + qrl0).last, vs0[(vhead1 ' + qrl0).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval1, vs0[(vhead1 ' + qrl0).last].next, nd0, true, (vhead1 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(vhead1 ' + qrl0).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), ps[vhead1].val ' + content(qrl0, ps) ≠ ps[(vhead1 ' + qrl0).last, ps[(vhead1 ' + qrl0).last].next:= vs0[(vhead1 ' + qrl0).last].next][vhead1].val ' + content(qrl0, ps[(vhead1 ' + qrl0).last, ps[(vhead1 ' + qrl0).last].next:= vs0[(vhead1 ' + qrl0).last].next]), vs0[(vhead1 ' + qrl0).last].next ≠ (vhead1 ' + qrl0).last, vs0[(vhead1 ' + qrl0).last].next ≠ null, orl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval1, vs0[(vhead1 ' + qrl0).last].next, nd0, true, (vhead1 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + vhead1 ' + qrl0, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid1, vhead, vs0), noid(tid0, orl0 + vhead1 ' + qrl0, vhead, vs0), noid(tid1, orl0 + vhead1 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + vhead1 ' + qrl0, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[(vhead1 ' + qrl0).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(vhead1 ' + qrl0).last].next ∈ ps, vs0[(vhead1 ' + qrl0).last].next ∈ vs0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[vhead1].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦
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) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ a ' + x ≠ []; (s) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a + x = a ' + x; (s) ⊦ content(r ' + rl, ps) = ps[r].val + content(rl, ps); (s) ⊦ x + a ' + y ≠ []; (s)
| vs0[vs0[(vhead1 ' + qrl0).last].next].deqID = None, ps[vhead1].deqID = None, vs0[vs0[(vhead1 ' + qrl0).last].next].next = null, ps[vs0[(vhead1 ' + qrl0).last].next] = vs0[vs0[(vhead1 ' + qrl0).last].next], abspc (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval1, vs0[(vhead1 ' + qrl0).last].next, nd0, true, (vhead1 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls (tid1, val3, optval5, vhead0, nd1, false, (vhead1 ' + qrl0).last, vs0[(vhead1 ' + qrl0).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval1, vs0[(vhead1 ' + qrl0).last].next, nd0, true, (vhead1 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(vhead1 ' + qrl0).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), ps[vhead1].val ' + content(qrl0, ps) ≠ ps[(vhead1 ' + qrl0).last, ps[(vhead1 ' + qrl0).last].next:= vs0[(vhead1 ' + qrl0).last].next][vhead1].val ' + content(qrl0, ps[(vhead1 ' + qrl0).last, ps[(vhead1 ' + qrl0).last].next:= vs0[(vhead1 ' + qrl0).last].next]), vs0[(vhead1 ' + qrl0).last].next ≠ (vhead1 ' + qrl0).last, vs0[(vhead1 ' + qrl0).last].next ≠ null, orl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval1, vs0[(vhead1 ' + qrl0).last].next, nd0, true, (vhead1 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + vhead1 ' + qrl0, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid1, vhead, vs0), noid(tid0, orl0 + vhead1 ' + qrl0, vhead, vs0), noid(tid1, orl0 + vhead1 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + vhead1 ' + qrl0, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[(vhead1 ' + qrl0).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(vhead1 ' + qrl0).last].next ∈ ps, vs0[(vhead1 ' + qrl0).last].next ∈ vs0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[vhead1].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦ |
⊦ y ≠ [] → (x + y).last = y.last
ps[vhead1].deqID = None, vs0[vs0[qrl0.last].next].deqID = None, vs0[vs0[qrl0.last].next].next = null, ps[vs0[qrl0.last].next] = vs0[vs0[qrl0.last].next], abspc (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[qrl0.last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E10, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), ps[vhead1].val ' + content(qrl0, ps) ≠ ps[qrl0.last, ps[qrl0.last].next:= vs0[qrl0.last].next][vhead1].val ' + content(qrl0, ps[qrl0.last, ps[qrl0.last].next:= vs0[qrl0.last].next]), vs0[qrl0.last].next ≠ qrl0.last, vs0[qrl0.last].next ≠ null, orl0 ≠ [], qrl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + vhead1 ' + qrl0, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid1, orl0 + vhead1 ' + qrl0, vhead, vs0), noid(tid0, orl0 + vhead1 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + vhead1 ' + qrl0, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[qrl0.last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs0[qrl0.last].next ∈ vs0, vs0[qrl0.last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[vhead1].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) ⊦ content([], ps) = []; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ a ' = b ' ↔ a = b; (s) Used terms: vhead1 ', qrl0
| ⊦ y ≠ [] → (x + y).last = y.last |
| ps[vhead1].deqID = None, vs0[vs0[qrl0.last].next].deqID = None, vs0[vs0[qrl0.last].next].next = null, ps[vs0[qrl0.last].next] = vs0[vs0[qrl0.last].next], abspc (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[qrl0.last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E10, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), ps[vhead1].val ' + content(qrl0, ps) ≠ ps[qrl0.last, ps[qrl0.last].next:= vs0[qrl0.last].next][vhead1].val ' + content(qrl0, ps[qrl0.last, ps[qrl0.last].next:= vs0[qrl0.last].next]), vs0[qrl0.last].next ≠ qrl0.last, vs0[qrl0.last].next ≠ null, orl0 ≠ [], qrl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + vhead1 ' + qrl0, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid1, orl0 + vhead1 ' + qrl0, vhead, vs0), noid(tid0, orl0 + vhead1 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + vhead1 ' + qrl0, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[qrl0.last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs0[qrl0.last].next ∈ vs0, vs0[qrl0.last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[vhead1].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦ |
Used simplifier rules: ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].val '; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) ⊦ x + a ' ≠ []; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) ⊦ # y = # y0 → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) ⊦ a ' = b ' ↔ a = b; (s) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ ¬ b ∈ x → (dups(x + b ') ↔ dups(x)); (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ∈ b ' ↔ a = b; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ≠ b → st[b, d][a] = st[a]; (s) x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: qrl0, phead0, y
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E11, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + vs0[vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vretRefs(tid1) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E11, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + vs0[vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], vretRefs(tid1) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D14 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D15 ≠ E11; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E11, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + vs0[vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], vretRefs(tid1) ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + vs0[vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), E11 = D3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D4 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = D6 → ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .rvref ]) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = Empty ∨ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ), E11 = D8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E11 = D9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E11 = D10 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next), E11 = D11 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next), E11 = D12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next), E11 = D13 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E11 = D14 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E11 = D15 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty, E11 = D16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = D17 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = D18 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D19 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success) ∧ (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ; mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ), E11 = D21 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first), E11 = D22 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D23 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E11 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E11 = D25 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID .tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val)), E11 = D26 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val)), E11 = D27 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val)), E11 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val), E11 = D29 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val), E11 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val), E11 = D31 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D34 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = Empty ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ), E11 = E2 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E6 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail), E11 = E7 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E10 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node), E11 = E11 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node), E11 = E12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null, E11 = E13 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E14 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = E15 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps), E11 = E10 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), E11 = E11 → ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ), E11 = E4 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11
| ⊦ 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + vs0[vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid1, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), E11 = D3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D4 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = D6 → ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .rvref ]) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = Empty ∨ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ), E11 = D8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E11 = D9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E11 = D10 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next), E11 = D11 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next), E11 = D12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next), E11 = D13 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E11 = D14 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E11 = D15 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty, E11 = D16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = D17 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = D18 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D19 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success) ∧ (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ; mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ), E11 = D21 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first), E11 = D22 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D23 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E11 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E11 = D25 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID .tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val)), E11 = D26 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val)), E11 = D27 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val)), E11 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val), E11 = D29 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val), E11 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val), E11 = D31 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D34 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = Empty ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ), E11 = E2 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E6 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail), E11 = E7 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E10 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node), E11 = E11 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node), E11 = E12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null, E11 = E13 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E14 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = E15 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps), E11 = E10 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), E11 = E11 → ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ), E11 = E4 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid1, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: fw-weak-oneweakowns: ⊦ oneweakowns(tid, r0, owns, vs, ps) ∧ owns(r) = Weak(tid) ∧ r ∈ ps ∧ r ∈ vs → r = r0; (forward) from specification DMSQ ⊦ D3 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D5 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D17 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E10 ≠ E11; (s) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ x + a ' = y + b ' ↔ x = y ∧ a = b; (ws) ⊦ 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) .owns = owns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) .value = value; (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) .success ↔ success; (s) ⊦ E11 ≠ E12; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E16; (s) ⊦ E4 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D7 ≠ E11; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ E1 ≠ E11; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ idle; (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) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ E17; (s) ⊦ D2 ≠ E11; (s) ⊦ D1 ≠ E11; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid1, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E11, pretRefs(tid1) = vretRefs(tid1), qrl = vhead1 + qrl0, rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], qrl ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ content([], ps) = []; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl, vhead1, y
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E11, pretRefs(tid1) = vretRefs(tid1), qrl = vhead1 + qrl0, rvowns(vretRefs(tid1)) = Pending(tid1), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], qrl ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid1, orl0 + qrl, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(vhead1 ' + qrl0).last].next].deqID = None, ps[vhead1].deqID = None, vs0[vs0[(vhead1 ' + qrl0).last].next].next = null, ps[vs0[(vhead1 ' + qrl0).last].next] = vs0[vs0[(vhead1 ' + qrl0).last].next], abspc (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval1, vs0[(vhead1 ' + qrl0).last].next, nd0, true, (vhead1 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls (tid1, val3, optval5, vhead0, nd1, false, (vhead1 ' + qrl0).last, vs0[(vhead1 ' + qrl0).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval1, vs0[(vhead1 ' + qrl0).last].next, nd0, true, (vhead1 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(vhead1 ' + qrl0).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), ps[vhead1].val ' + content(qrl0, ps) ≠ ps[(vhead1 ' + qrl0).last, ps[(vhead1 ' + qrl0).last].next:= vs0[(vhead1 ' + qrl0).last].next][vhead1].val ' + content(qrl0, ps[(vhead1 ' + qrl0).last, ps[(vhead1 ' + qrl0).last].next:= vs0[(vhead1 ' + qrl0).last].next]), vs0[(vhead1 ' + qrl0).last].next ≠ (vhead1 ' + qrl0).last, vs0[(vhead1 ' + qrl0).last].next ≠ null, orl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval1, vs0[(vhead1 ' + qrl0).last].next, nd0, true, (vhead1 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + vhead1 ' + qrl0, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid1, vhead, vs0), noid(tid0, orl0 + vhead1 ' + qrl0, vhead, vs0), noid(tid1, orl0 + vhead1 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + vhead1 ' + qrl0, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[(vhead1 ' + qrl0).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(vhead1 ' + qrl0).last].next ∈ ps, vs0[(vhead1 ' + qrl0).last].next ∈ vs0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[vhead1].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦
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) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ a ' + x ≠ []; (s) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a + x = a ' + x; (s) ⊦ content(r ' + rl, ps) = ps[r].val + content(rl, ps); (s) ⊦ x + a ' + y ≠ []; (s)
| vs0[vs0[(vhead1 ' + qrl0).last].next].deqID = None, ps[vhead1].deqID = None, vs0[vs0[(vhead1 ' + qrl0).last].next].next = null, ps[vs0[(vhead1 ' + qrl0).last].next] = vs0[vs0[(vhead1 ' + qrl0).last].next], abspc (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval1, vs0[(vhead1 ' + qrl0).last].next, nd0, true, (vhead1 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid1) = mkls (tid1, val3, optval5, vhead0, nd1, false, (vhead1 ' + qrl0).last, vs0[(vhead1 ' + qrl0).last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval1, vs0[(vhead1 ' + qrl0).last].next, nd0, true, (vhead1 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs0[(vhead1 ' + qrl0).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid1) = D16, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), ps[vhead1].val ' + content(qrl0, ps) ≠ ps[(vhead1 ' + qrl0).last, ps[(vhead1 ' + qrl0).last].next:= vs0[(vhead1 ' + qrl0).last].next][vhead1].val ' + content(qrl0, ps[(vhead1 ' + qrl0).last, ps[(vhead1 ' + qrl0).last].next:= vs0[(vhead1 ' + qrl0).last].next]), vs0[(vhead1 ' + qrl0).last].next ≠ (vhead1 ' + qrl0).last, vs0[(vhead1 ' + qrl0).last].next ≠ null, orl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval1, vs0[(vhead1 ' + qrl0).last].next, nd0, true, (vhead1 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(vhead1 ' + qrl0).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + vhead1 ' + qrl0, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid1, vhead, vs0), noid(tid0, orl0 + vhead1 ' + qrl0, vhead, vs0), noid(tid1, orl0 + vhead1 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + vhead1 ' + qrl0, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[(vhead1 ' + qrl0).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vretRefs(tid1) ∈ vrvHp, vs0[(vhead1 ' + qrl0).last].next ∈ ps, vs0[(vhead1 ' + qrl0).last].next ∈ vs0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (vhead1 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[vhead1].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦ |
⊦ y ≠ [] → (x + y).last = y.last
ps[vhead1].deqID = None, vs0[vs0[qrl0.last].next].deqID = None, vs0[vs0[qrl0.last].next].next = null, ps[vs0[qrl0.last].next] = vs0[vs0[qrl0.last].next], abspc (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[qrl0.last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E11, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), ps[vhead1].val ' + content(qrl0, ps) ≠ ps[qrl0.last, ps[qrl0.last].next:= vs0[qrl0.last].next][vhead1].val ' + content(qrl0, ps[qrl0.last, ps[qrl0.last].next:= vs0[qrl0.last].next]), vs0[qrl0.last].next ≠ qrl0.last, vs0[qrl0.last].next ≠ null, orl0 ≠ [], qrl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + vhead1 ' + qrl0, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid1, orl0 + vhead1 ' + qrl0, vhead, vs0), noid(tid0, orl0 + vhead1 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + vhead1 ' + qrl0, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[qrl0.last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs0[qrl0.last].next ∈ vs0, vs0[qrl0.last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[vhead1].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) ⊦ content([], ps) = []; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ a ' = b ' ↔ a = b; (s) Used terms: vhead1 ', qrl0
| ⊦ y ≠ [] → (x + y).last = y.last |
| ps[vhead1].deqID = None, vs0[vs0[qrl0.last].next].deqID = None, vs0[vs0[qrl0.last].next].next = null, ps[vs0[qrl0.last].next] = vs0[vs0[qrl0.last].next], abspc (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4), alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val4, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, invDeq = apcf(tid1), lsf(tid0) = mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid1) = mkls(tid1, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, vretRefs(tid1), optval6, vhead5, tid5, addr1), owns(vs0[qrl0.last].next) = Weak(tid0), pcf(tid1) = D16, pcf(tid0) = E11, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), ps[vhead1].val ' + content(qrl0, ps) ≠ ps[qrl0.last, ps[qrl0.last].next:= vs0[qrl0.last].next][vhead1].val ' + content(qrl0, ps[qrl0.last, ps[qrl0.last].next:= vs0[qrl0.last].next]), vs0[qrl0.last].next ≠ qrl0.last, vs0[qrl0.last].next ≠ null, orl0 ≠ [], qrl0 ≠ [], vretRefs(tid1) ≠ null, absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + vhead1 ' + qrl0, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid1, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid1, orl0 + vhead1 ' + qrl0, vhead, vs0), noid(tid0, orl0 + vhead1 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + vhead1 ' + qrl0, vs0, vretRefs, pretRefs), noowns(tid1, owns), oneweakowns(tid0, vs0[qrl0.last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs0[qrl0.last].next ∈ vs0, vs0[qrl0.last].next ∈ ps, vretRefs(tid1) ∈ vrvHp, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[vhead1].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦ |
Used simplifier rules: ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].val '; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) ⊦ x + a ' ≠ []; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) ⊦ # y = # y0 → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) ⊦ a ' = b ' ↔ a = b; (s) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ ¬ b ∈ x → (dups(x + b ') ↔ dups(x)); (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ∈ b ' ↔ a = b; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ≠ b → st[b, d][a] = st[a]; (s) x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: qrl0, phead0, y
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = E14, content(qrl, ps) + val1 ' ≠ content(qrl0, ps0), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4) = E14, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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 ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].val '; (s) in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list[reflist] ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) = mkgs (ps1, ps2, phead2, phead3, phead4, vretRefs1, vretRefs2, vrvHp1, vrvHp2, qrl1, qrl2, owns0, rvowns0) ↔ ps = ps1 ∧ ps0 = ps2 ∧ phead = phead2 ∧ phead0 = phead3 ∧ phead1 = phead4 ∧ vretRefs = vretRefs1 ∧ vretRefs0 = vretRefs2 ∧ vrvHp = vrvHp1 ∧ vrvHp0 = vrvHp2 ∧ qrl = qrl1 ∧ qrl0 = qrl2 ∧ owns = owns0 ∧ rvowns = rvowns0; (ws) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns:= owns0 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns0, rvowns); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (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) .owns = owns; (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) .qrl:= qrl1 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl1, qrl0, owns, rvowns); (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) ⊦ gstepf(gs, ls, E14, a) = ( ( gs .ps:= gs.ps [ls.lst, gs.ps[ls.lst].next:= gs.vs[ls.lst].next ]) .qrl:= (ls.lst = (gs.orl + gs.qrl).last ⊃ gs.qrl + gs.vs[ls.lst].next ;gs.qrl )) .owns:= (ls.lst = (gs.orl + gs.qrl).last ⊃ gs.owns(gs.vs[ls.lst].next; None) ;gs.owns ); (s)
| abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4) = E14, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)))
abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = E14, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, E14 = D3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E14 = D4 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E14 = D5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = D6 → ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ]) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ∨ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), E14 = D8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E14 = D9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, E14 = D10 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), E14 = D11 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), E14 = D12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next), E14 = D13 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, E14 = D14 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, E14 = D15 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty, E14 = D16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = D17 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = D18 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E14 = D19 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E14 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success) ∧ (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ; mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ), E14 = D21 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first), E14 = D22 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E14 = D23 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], E14 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], E14 = D25 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E14 = D26 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E14 = D27 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E14 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E14 = D29 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E14 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E14 = D31 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E14 = D34 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), E14 = E2 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E6 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail), E14 = E7 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E14 = E8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E14 = E9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E14 = E10 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), E14 = E11 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), E14 = E12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null, E14 = E13 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E14 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = E15 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E2 ∨ E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, E14 = E4 ∨ E14 = E10 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null), E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = D13 ∨ E14 = D14 ∨ E14 = D15 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E2 ∨ E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success, E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E14 = idle ∨ E14 = ready ∨ E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∨ E14 = E11 ∨ E14 = E12 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 ∨ E14 = E17 ∨ E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ∨ E14 = D34 → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E14 = crashed ∨ E14 = idle ∨ E14 = ready ∨ E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∨ E14 = E11 ∨ E14 = E12 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 ∨ E14 = E17 ∨ E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ∨ E14 = D34 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D18 ∨ E14 = D19 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E14 = D22 ∨ E14 = D23 ∨ E14 = D24 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E14 = crashed ∨ E14 = idle ∨ E14 = ready ∨ E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ∨ E14 = D34 ∨ E14 = E1 ∨ E14 = E12 ∨ E14 = E17 → noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns), E14 = E2 ∨ E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps), E14 = E10 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), E14 = E11 → ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ), E14 = E4 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦
Used terms: mkgs (ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14
| ⊦ 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))) |
| abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = E14, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, E14 = D3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E14 = D4 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E14 = D5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = D6 → ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ]) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ∨ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), E14 = D8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E14 = D9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, E14 = D10 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), E14 = D11 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), E14 = D12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next), E14 = D13 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, E14 = D14 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, E14 = D15 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty, E14 = D16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = D17 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = D18 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E14 = D19 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E14 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success) ∧ (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ; mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ), E14 = D21 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first), E14 = D22 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E14 = D23 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], E14 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], E14 = D25 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E14 = D26 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E14 = D27 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E14 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E14 = D29 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E14 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E14 = D31 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E14 = D34 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), E14 = E2 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E6 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail), E14 = E7 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E14 = E8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E14 = E9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E14 = E10 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), E14 = E11 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), E14 = E12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null, E14 = E13 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E14 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = E15 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E2 ∨ E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, E14 = E4 ∨ E14 = E10 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null), E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = D13 ∨ E14 = D14 ∨ E14 = D15 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E2 ∨ E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success, E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E14 = idle ∨ E14 = ready ∨ E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∨ E14 = E11 ∨ E14 = E12 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 ∨ E14 = E17 ∨ E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ∨ E14 = D34 → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E14 = crashed ∨ E14 = idle ∨ E14 = ready ∨ E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∨ E14 = E11 ∨ E14 = E12 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 ∨ E14 = E17 ∨ E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ∨ E14 = D34 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D18 ∨ E14 = D19 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E14 = D22 ∨ E14 = D23 ∨ E14 = D24 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E14 = crashed ∨ E14 = idle ∨ E14 = ready ∨ E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ∨ E14 = D34 ∨ E14 = E1 ∨ E14 = E12 ∨ E14 = E17 → noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns), E14 = E2 ∨ E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps), E14 = E10 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), E14 = E11 → ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ), E14 = E4 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls(owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vhead0) = Some(tid4), pcf(tid4) = E14, orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs0[(orl0 + qrl).last].next).tid), mkls(owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, val1, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E1 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E2 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E3 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E5 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E6 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E7 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E8 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E9 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E14 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D23 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D24 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vs0[(orl0 + qrl).last].next).tid)], pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D22 → optval3 = optval1, ( pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D12 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty0 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦
Used simplifier rules: ⊦ 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) listp-nextoflast: ⊦ listp(rl, vs, ps, owns) ∧ vs[rl.last].next ≠ null → vs[rl.last].next ∈ vs ∧ vs[rl.last].next ∈ ps ∧ ps[vs[rl.last].next] = vs[vs[rl.last].next] ∧ ps[vs[rl.last].next].deqID = None ∧ ps[vs[rl.last].next].next = null ∧ weak?(owns(vs[rl.last].next)); (forward) from specification DMSQ fw-some-oneowns: ⊦ oneowns(tid, r0, owns, vs, ps) ∧ owns(r) = Some(tid) ∧ r ∈ ps ∧ r ∈ vs → r = r0; (forward) from specification DMSQ ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) ⊦ D3 ≠ E14; (s) ⊦ D4 ≠ E14; (s) ⊦ D5 ≠ E14; (s) ⊦ D6 ≠ E14; (s) ⊦ D8 ≠ E14; (s) ⊦ D9 ≠ E14; (s) ⊦ D10 ≠ E14; (s) ⊦ D11 ≠ E14; (s) ⊦ D12 ≠ E14; (s) ⊦ D13 ≠ E14; (s) ⊦ D14 ≠ E14; (s) ⊦ D15 ≠ E14; (s) ⊦ D16 ≠ E14; (s) ⊦ D17 ≠ E14; (s) ⊦ D18 ≠ E14; (s) ⊦ D19 ≠ E14; (s) ⊦ D20 ≠ E14; (s) ⊦ D21 ≠ E14; (s) ⊦ D22 ≠ E14; (s) ⊦ D23 ≠ E14; (s) ⊦ D24 ≠ E14; (s) ⊦ D25 ≠ E14; (s) ⊦ D26 ≠ E14; (s) ⊦ D27 ≠ E14; (s) ⊦ D28 ≠ E14; (s) ⊦ D29 ≠ E14; (s) ⊦ D30 ≠ E14; (s) ⊦ D31 ≠ E14; (s) ⊦ D34 ≠ E14; (s) ⊦ E2 ≠ E14; (s) ⊦ E3 ≠ E14; (s) ⊦ E5 ≠ E14; (s) ⊦ E6 ≠ E14; (s) ⊦ E7 ≠ E14; (s) ⊦ E8 ≠ E14; (s) ⊦ E9 ≠ E14; (s) ⊦ E10 ≠ E14; (s) ⊦ E11 ≠ E14; (s) ⊦ E12 ≠ E14; (s) ⊦ E13 ≠ E14; (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) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ x.last ∈ x ↔ x ≠ []; (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) ⊦ 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) .owns = owns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ E14 ≠ E15; (s) ⊦ E14 ≠ E16; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ E4 ≠ E14; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ D33 ≠ E14; (s) ⊦ D32 ≠ E14; (s) ⊦ D7 ≠ E14; (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) .vhead = phead0; (s) ⊦ E1 ≠ E14; (s) ⊦ E14 ≠ ready; (s) ⊦ E14 ≠ idle; (s) ⊦ E14 ≠ crashed; (s) ⊦ E14 ≠ E17; (s) ⊦ D2 ≠ E14; (s) ⊦ D1 ≠ E14; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls(owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vhead0) = Some(tid4), pcf(tid4) = E14, orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs0[(orl0 + qrl).last].next).tid), mkls(owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, val1, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E1 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E2 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E3 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E5 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E6 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E7 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E8 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E9 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E14 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D23 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D24 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vs0[(orl0 + qrl).last].next).tid)], pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D22 → optval3 = optval1, ( pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D12 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty0 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ weak?(opttid) → (tid = opttid.tid ↔ opttid = Weak(tid)); (elim) Used terms: owns(vs0[(orl0 + qrl).last].next), tid
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ weak?(Weak(tid)); (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), obsEmpty0, owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E10, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E11, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), obsEmpty0, owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E10, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D22 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D10 ≠ E10; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid4) = E14, orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), E10 = D3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D4 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = D6 → ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ]) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ∨ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ), E10 = D8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E10 = D10 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E10 = D11 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E10 = D12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next), E10 = D13 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E10 = D14 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E10 = D15 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty, E10 = D16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = D17 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = D18 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D19 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success) ∧ (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ; mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ), E10 = D21 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first), E10 = D22 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D23 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E10 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E10 = D25 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E10 = D26 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E10 = D27 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E10 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D29 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D31 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D34 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ), E10 = E2 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E6 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail), E10 = E7 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E10 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E10 = E11 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E10 = E12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null, E10 = E13 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E14 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = E15 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, E10 = E4 ∨ E10 = E10 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null), E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = D13 ∨ E10 = D14 ∨ E10 = D15 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success, E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 ∨ E10 = E1 ∨ E10 = E12 ∨ E10 = E17 → noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps), E10 = E10 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), E10 = E11 → ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ), E10 = E4 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10
| ⊦ 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid4) = E14, orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), E10 = D3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D4 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = D6 → ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ]) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ∨ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ), E10 = D8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E10 = D10 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E10 = D11 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E10 = D12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next), E10 = D13 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E10 = D14 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E10 = D15 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty, E10 = D16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = D17 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = D18 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D19 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success) ∧ (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ; mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ), E10 = D21 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first), E10 = D22 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D23 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E10 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E10 = D25 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E10 = D26 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E10 = D27 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E10 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D29 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D31 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D34 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ), E10 = E2 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E6 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail), E10 = E7 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E10 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E10 = E11 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E10 = E12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null, E10 = E13 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E14 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = E15 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, E10 = E4 ∨ E10 = E10 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null), E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = D13 ∨ E10 = D14 ∨ E10 = D15 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success, E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 ∨ E10 = E1 ∨ E10 = E12 ∨ E10 = E17 → noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps), E10 = E10 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), E10 = E11 → ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ), E10 = E4 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid4) = E14, content(qrl, ps) + vs0[vs0[(orl0 + qrl).last].next].val ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D3 ≠ E10; (s) ⊦ D4 ≠ E10; (s) ⊦ D5 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D8 ≠ E10; (s) ⊦ D9 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D16 ≠ E10; (s) ⊦ D17 ≠ E10; (s) ⊦ D18 ≠ E10; (s) ⊦ D19 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D25 ≠ E10; (s) ⊦ D26 ≠ E10; (s) ⊦ D27 ≠ E10; (s) ⊦ D28 ≠ E10; (s) ⊦ D29 ≠ E10; (s) ⊦ D30 ≠ E10; (s) ⊦ D31 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E9 ≠ E10; (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) .owns = owns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) .value = value; (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) .success ↔ success; (s) ⊦ E10 ≠ E11; (s) ⊦ E10 ≠ E12; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s) ⊦ E4 ≠ E10; (s) ⊦ D33 ≠ E10; (s) ⊦ D32 ≠ E10; (s) ⊦ D7 ≠ E10; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ E1 ≠ E10; (s) ⊦ E10 ≠ ready; (s) ⊦ E10 ≠ idle; (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) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ E17; (s) ⊦ D2 ≠ E10; (s) ⊦ D1 ≠ E10; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid4) = E14, content(qrl, ps) + vs0[vs0[(orl0 + qrl).last].next].val ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E10, content(qrl, ps) + vs0[vs0[(orl0 + qrl).last].next].val ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, vs0[(orl0 + qrl).last].next
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E10, content(qrl, ps) + vs0[vs0[(orl0 + qrl).last].next].val ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ # y = # y0 → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid4) = E14, qrl = phead0 + qrl0, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], qrl ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ content([], ps) = []; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl, phead0, y
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid4) = E14, qrl = phead0 + qrl0, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], qrl ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(phead0 ' + qrl0).last].next].deqID = None, ps[phead0].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].next = null, ps[vs0[(phead0 ' + qrl0).last].next] = vs0[vs0[(phead0 ' + qrl0).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(phead0 ' + qrl0).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E10, ps[phead0].val ' + content(qrl0, ps) ≠ ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next][phead0].val ' + content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next]), vs0[(phead0 ' + qrl0).last].next ≠ null, vs0[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, orl0 ≠ [], vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(phead0 ' + qrl0).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs0[(phead0 ' + qrl0).last].next ∈ vs0, vs0[(phead0 ' + qrl0).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦
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) ⊦ (x + a ' + y).last = (a ' + y).last; (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(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a + x = a ' + x; (s) ⊦ content(r ' + rl, ps) = ps[r].val + content(rl, ps); (s) ⊦ x + a ' + y ≠ []; (s)
| vs0[vs0[(phead0 ' + qrl0).last].next].deqID = None, ps[phead0].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].next = null, ps[vs0[(phead0 ' + qrl0).last].next] = vs0[vs0[(phead0 ' + qrl0).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(phead0 ' + qrl0).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E10, ps[phead0].val ' + content(qrl0, ps) ≠ ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next][phead0].val ' + content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next]), vs0[(phead0 ' + qrl0).last].next ≠ null, vs0[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, orl0 ≠ [], vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(phead0 ' + qrl0).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs0[(phead0 ' + qrl0).last].next ∈ vs0, vs0[(phead0 ' + qrl0).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
ps[phead0].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(phead0 ' + qrl0).last].next] = vs0[vs0[(phead0 ' + qrl0).last].next], abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(phead0 ' + qrl0).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid4) = E14, ps[phead0].val ' + content(qrl0, ps) ≠ ps[phead0].val ' + content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next]), vs0[(phead0 ' + qrl0).last].next ≠ null, vs0[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, orl0 ≠ [], phead0 ≠ (phead0 ' + qrl0).last, vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(phead0 ' + qrl0).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(phead0 ' + qrl0).last].next ∈ ps, vs0[(phead0 ' + qrl0).last].next ∈ vs0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) ⊦ # x = # z → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) a: ⊦ (x + y) + z = x + y + z; from specification list Used terms: ps, (phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next, phead0
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| ps[phead0].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(phead0 ' + qrl0).last].next] = vs0[vs0[(phead0 ' + qrl0).last].next], abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(phead0 ' + qrl0).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid4) = E14, ps[phead0].val ' + content(qrl0, ps) ≠ ps[phead0].val ' + content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next]), vs0[(phead0 ' + qrl0).last].next ≠ null, vs0[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, orl0 ≠ [], phead0 ≠ (phead0 ' + qrl0).last, vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(phead0 ' + qrl0).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(phead0 ' + qrl0).last].next ∈ ps, vs0[(phead0 ' + qrl0).last].next ∈ vs0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦ |
vs0[vs0[(phead0 ' + qrl0).last].next].deqID = None, ps[phead0].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].next = null, ps[vs0[(phead0 ' + qrl0).last].next] = vs0[vs0[(phead0 ' + qrl0).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(phead0 ' + qrl0).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E10, vs0[(phead0 ' + qrl0).last].next ≠ null, vs0[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, content(qrl0, ps) ≠ content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next]), orl0 ≠ [], phead0 ≠ (phead0 ' + qrl0).last, vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(phead0 ' + qrl0).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs0[(phead0 ' + qrl0).last].next ∈ vs0, vs0[(phead0 ' + qrl0).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ # x = # z → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws)
| vs0[vs0[(phead0 ' + qrl0).last].next].deqID = None, ps[phead0].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].next = null, ps[vs0[(phead0 ' + qrl0).last].next] = vs0[vs0[(phead0 ' + qrl0).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(phead0 ' + qrl0).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E10, vs0[(phead0 ' + qrl0).last].next ≠ null, vs0[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, content(qrl0, ps) ≠ content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next]), orl0 ≠ [], phead0 ≠ (phead0 ' + qrl0).last, vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(phead0 ' + qrl0).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs0[(phead0 ' + qrl0).last].next ∈ vs0, vs0[(phead0 ' + qrl0).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦ |
⊦ y ≠ [] → (x + y).last = y.last
ps[phead0].deqID = None, vs0[vs0[qrl0.last].next].deqID = None, vs0[vs0[qrl0.last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[qrl0.last].next] = vs0[vs0[qrl0.last].next], abspc (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[qrl0.last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid4) = E14, vs0[qrl0.last].next ≠ null, vs0[qrl0.last].next ≠ qrl0.last, content(qrl0, ps) ≠ content(qrl0, ps[qrl0.last, ps[qrl0.last].next:= vs0[qrl0.last].next]), orl0 ≠ [], phead0 ≠ qrl0.last, qrl0 ≠ [], vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[qrl0.last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[qrl0.last].next ∈ ps, vs0[qrl0.last].next ∈ vs0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) ⊦ content([], ps) = []; (s) Used terms: phead0 ', qrl0
| ⊦ y ≠ [] → (x + y).last = y.last |
| ps[phead0].deqID = None, vs0[vs0[qrl0.last].next].deqID = None, vs0[vs0[qrl0.last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[qrl0.last].next] = vs0[vs0[qrl0.last].next], abspc (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[qrl0.last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid4) = E14, vs0[qrl0.last].next ≠ null, vs0[qrl0.last].next ≠ qrl0.last, content(qrl0, ps) ≠ content(qrl0, ps[qrl0.last, ps[qrl0.last].next:= vs0[qrl0.last].next]), orl0 ≠ [], phead0 ≠ qrl0.last, qrl0 ≠ [], vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E10, mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[qrl0.last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[qrl0.last].next ∈ ps, vs0[qrl0.last].next ∈ vs0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦ |
Used simplifier rules: ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].val '; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) ⊦ # y = # y0 → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ x + a ' ≠ []; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: qrl0, vhead1, y
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E11, content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val0, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val0 = val1, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty0 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ phead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D14 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D15 ≠ E11; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid4) = E14, orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), E11 = D3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D4 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = D6 → ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .rvref ]) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = Empty ∨ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ), E11 = D8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E11 = D9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E11 = D10 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next), E11 = D11 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next), E11 = D12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next), E11 = D13 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E11 = D14 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E11 = D15 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty, E11 = D16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = D17 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = D18 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D19 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success) ∧ (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ; mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ), E11 = D21 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first), E11 = D22 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D23 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E11 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E11 = D25 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID .tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val)), E11 = D26 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val)), E11 = D27 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val)), E11 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val), E11 = D29 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val), E11 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val), E11 = D31 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D34 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = Empty ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ), E11 = E2 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E6 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail), E11 = E7 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E10 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node), E11 = E11 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node), E11 = E12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null, E11 = E13 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E14 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = E15 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps), E11 = E10 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), E11 = E11 → ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ), E11 = E4 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11
| ⊦ 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid4) = E14, orl0 + qrl ≠ [], content(qrl, ps) + val1 ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, val1, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), E11 = D3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D4 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = D6 → ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .rvref ]) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = Empty ∨ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ), E11 = D8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E11 = D9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E11 = D10 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next), E11 = D11 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next) ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ] .next), E11 = D12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next), E11 = D13 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E11 = D14 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E11 = D15 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty, E11 = D16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = D17 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = D18 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D19 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success) ∧ (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ; mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ), E11 = D21 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first), E11 = D22 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D23 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E11 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E11 = D25 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ⊕ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs )[mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID .tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val)), E11 = D26 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val)), E11 = D27 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval .val)), E11 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val), E11 = D29 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val), E11 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val), E11 = D31 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D34 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).prvHp [mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .optval = Empty ⊃ Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ), E11 = E2 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E3 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E5 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E6 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail), E11 = E7 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E8 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E9 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E10 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node), E11 = E11 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node) = Weak (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .tid) ∨ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .node), E11 = E12 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null, E11 = E13 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E14 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = E15 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null) ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vtail ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl from mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).pretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).rvowns (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vretRefs (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ∈ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vrvHp ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ≠ null ∧ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead ≠ mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → nextnottid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vhead, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).orl + mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).qrl, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps), E11 = E10 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), E11 = E11 → ( mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs [mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ;noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ), E11 = E4 → (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ noowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns) ;oneowns (mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid0, val1, optval1, vs0[(orl0 + qrl).last].next, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).owns, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).vs, mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid4) = E14, content(qrl, ps) + vs0[vs0[(orl0 + qrl).last].next].val ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D3 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D5 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D17 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E10 ≠ E11; (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) .owns = owns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) .value = value; (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) .success ↔ success; (s) ⊦ E11 ≠ E12; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E16; (s) ⊦ E4 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D7 ≠ E11; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ E1 ≠ E11; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ idle; (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) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ E17; (s) ⊦ D2 ≠ E11; (s) ⊦ D1 ≠ E11; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid4) = E14, content(qrl, ps) + vs0[vs0[(orl0 + qrl).last].next].val ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E11, content(qrl, ps) + vs0[vs0[(orl0 + qrl).last].next].val ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, vs0[(orl0 + qrl).last].next
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E11, content(qrl, ps) + vs0[vs0[(orl0 + qrl).last].next].val ' ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]) + ps[vs0[(orl0 + qrl).last].next].val ', orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ # y = # y0 → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid4) = E14, qrl = phead0 + qrl0, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], qrl ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ content([], ps) = []; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl, phead0, y
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid4) = E14, qrl = phead0 + qrl0, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, content(qrl, ps) ≠ content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), orl0 ≠ [], qrl ≠ [], vhead0 ≠ null, absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval1, vs0[(orl0 + qrl).last].next, nd0, true, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + qrl, vhead, vs0), noid(tid4, orl0 + qrl, vhead, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, (orl0 + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(phead0 ' + qrl0).last].next].deqID = None, ps[phead0].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].next = null, ps[vs0[(phead0 ' + qrl0).last].next] = vs0[vs0[(phead0 ' + qrl0).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(phead0 ' + qrl0).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E11, ps[phead0].val ' + content(qrl0, ps) ≠ ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next][phead0].val ' + content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next]), vs0[(phead0 ' + qrl0).last].next ≠ null, vs0[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, orl0 ≠ [], vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(phead0 ' + qrl0).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs0[(phead0 ' + qrl0).last].next ∈ vs0, vs0[(phead0 ' + qrl0).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦
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) ⊦ (x + a ' + y).last = (a ' + y).last; (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(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a + x = a ' + x; (s) ⊦ content(r ' + rl, ps) = ps[r].val + content(rl, ps); (s) ⊦ x + a ' + y ≠ []; (s)
| vs0[vs0[(phead0 ' + qrl0).last].next].deqID = None, ps[phead0].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].next = null, ps[vs0[(phead0 ' + qrl0).last].next] = vs0[vs0[(phead0 ' + qrl0).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(phead0 ' + qrl0).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E11, ps[phead0].val ' + content(qrl0, ps) ≠ ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next][phead0].val ' + content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next]), vs0[(phead0 ' + qrl0).last].next ≠ null, vs0[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, orl0 ≠ [], vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(phead0 ' + qrl0).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs0[(phead0 ' + qrl0).last].next ∈ vs0, vs0[(phead0 ' + qrl0).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
ps[phead0].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(phead0 ' + qrl0).last].next] = vs0[vs0[(phead0 ' + qrl0).last].next], abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(phead0 ' + qrl0).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid4) = E14, ps[phead0].val ' + content(qrl0, ps) ≠ ps[phead0].val ' + content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next]), vs0[(phead0 ' + qrl0).last].next ≠ null, vs0[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, orl0 ≠ [], phead0 ≠ (phead0 ' + qrl0).last, vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(phead0 ' + qrl0).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(phead0 ' + qrl0).last].next ∈ ps, vs0[(phead0 ' + qrl0).last].next ∈ vs0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) ⊦ # x = # z → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) a: ⊦ (x + y) + z = x + y + z; from specification list Used terms: ps, (phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next, phead0
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| ps[phead0].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(phead0 ' + qrl0).last].next] = vs0[vs0[(phead0 ' + qrl0).last].next], abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[(phead0 ' + qrl0).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid4) = E14, ps[phead0].val ' + content(qrl0, ps) ≠ ps[phead0].val ' + content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next]), vs0[(phead0 ' + qrl0).last].next ≠ null, vs0[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, orl0 ≠ [], phead0 ≠ (phead0 ' + qrl0).last, vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(phead0 ' + qrl0).last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(phead0 ' + qrl0).last].next ∈ ps, vs0[(phead0 ' + qrl0).last].next ∈ vs0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦ |
vs0[vs0[(phead0 ' + qrl0).last].next].deqID = None, ps[phead0].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].next = null, ps[vs0[(phead0 ' + qrl0).last].next] = vs0[vs0[(phead0 ' + qrl0).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(phead0 ' + qrl0).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E11, vs0[(phead0 ' + qrl0).last].next ≠ null, vs0[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, content(qrl0, ps) ≠ content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next]), orl0 ≠ [], phead0 ≠ (phead0 ' + qrl0).last, vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(phead0 ' + qrl0).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs0[(phead0 ' + qrl0).last].next ∈ vs0, vs0[(phead0 ' + qrl0).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ # x = # z → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws)
| vs0[vs0[(phead0 ' + qrl0).last].next].deqID = None, ps[phead0].deqID = None, vs0[vs0[(phead0 ' + qrl0).last].next].next = null, ps[vs0[(phead0 ' + qrl0).last].next] = vs0[vs0[(phead0 ' + qrl0).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(phead0 ' + qrl0).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, pcf(tid0) = E11, vs0[(phead0 ' + qrl0).last].next ≠ null, vs0[(phead0 ' + qrl0).last].next ≠ (phead0 ' + qrl0).last, content(qrl0, ps) ≠ content(qrl0, ps[(phead0 ' + qrl0).last, ps[(phead0 ' + qrl0).last].next:= vs0[(phead0 ' + qrl0).last].next]), orl0 ≠ [], phead0 ≠ (phead0 ' + qrl0).last, vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls (tid0, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval1, vs0[(phead0 ' + qrl0).last].next, nd0, true, (phead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[(phead0 ' + qrl0).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, (phead0 ' + qrl0).last, vs0[(phead0 ' + qrl0).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead, vs0), nextnottid(tid0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(phead0 ' + qrl0).last].next, owns, vs0, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs0[(phead0 ' + qrl0).last].next ∈ vs0, vs0[(phead0 ' + qrl0).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead ∈ vs0, phead ∈ ps, phead ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs0, phead, vhead, (phead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦ |
⊦ y ≠ [] → (x + y).last = y.last
ps[phead0].deqID = None, vs0[vs0[qrl0.last].next].deqID = None, vs0[vs0[qrl0.last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[qrl0.last].next] = vs0[vs0[qrl0.last].next], abspc (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[qrl0.last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid4) = E14, vs0[qrl0.last].next ≠ null, vs0[qrl0.last].next ≠ qrl0.last, content(qrl0, ps) ≠ content(qrl0, ps[qrl0.last, ps[qrl0.last].next:= vs0[qrl0.last].next]), orl0 ≠ [], phead0 ≠ qrl0.last, qrl0 ≠ [], vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[qrl0.last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[qrl0.last].next ∈ ps, vs0[qrl0.last].next ∈ vs0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) ⊦ content([], ps) = []; (s) Used terms: phead0 ', qrl0
| ⊦ y ≠ [] → (x + y).last = y.last |
| ps[phead0].deqID = None, vs0[vs0[qrl0.last].next].deqID = None, vs0[vs0[qrl0.last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[qrl0.last].next] = vs0[vs0[qrl0.last].next], abspc (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), abspc (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vhead0) = Some(tid4), owns(vs0[qrl0.last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid4) = E14, vs0[qrl0.last].next ≠ null, vs0[qrl0.last].next ≠ qrl0.last, content(qrl0, ps) ≠ content(qrl0, ps[qrl0.last, ps[qrl0.last].next:= vs0[qrl0.last].next]), orl0 ≠ [], phead0 ≠ qrl0.last, qrl0 ≠ [], vhead0 ≠ null, vhead0 ≠ phead0, absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, false, qrl0.last, vs0[qrl0.last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), mkls(tid0, vs0[vs0[qrl0.last].next].val, optval1, vs0[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E11, mkls(tid0, obsEmpty1, vs0[vs0[qrl0.last].next].val, optval3, val2, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl0 + phead0 ' + qrl0, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid0, vhead, vs0), nextnottid(tid4, vhead, vs0), noid(tid0, orl0 + phead0 ' + qrl0, vhead, vs0), noid(tid4, orl0 + phead0 ' + qrl0, vhead, vs0), nonullRetRefs(orl0 + phead0 ' + qrl0, vs0, vretRefs, pretRefs), oneowns(tid4, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[qrl0.last].next, owns, vs0, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl0, phead ∈ ps, phead ∈ vs0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[qrl0.last].next ∈ ps, vs0[qrl0.last].next ∈ vs0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ orl0, ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl0, vs0[vhead].next ≠ null ∧ vs0[vs0[vhead].next].deqID ≠ None → rvowns(vretRefs(vs0[vs0[vhead].next].deqID.tid)) = Claimed(vs0[vs0[vhead].next].deqID.tid, vs0[vs0[vhead].next].val), ∀ tid. absls (mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + qrl0, orl0, owns, rvowns), lsf(tid), pcf(tid)), orl0.last = vhead ∧ unmarkedp(qrl0, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead ∧ phead ≠ orl0.last ∧ vs0[phead0].deqID = None ∧ unmarkedp(qrl0, vs0) ⊦ |
Used simplifier rules: ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].val '; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) ⊦ # y = # y0 → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ x + a ' ≠ []; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: qrl0, vhead1, y
| content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), content(qrl, ps) + val1 ' ≠ content(qrl0, ps0) ∨ ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), pcf(tid4) = D16 ∨ pcf(tid4) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, val1 ∈ content(qrl0, ps0), ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid4) = D16 ∨ pcf(tid4) = E14, ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list
| content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, val1 ∈ content(qrl0, ps0), ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid4) = D16 ∨ pcf(tid4) = E14, ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦ |
content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), tid4 = tid, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), val1 ∈ content(qrl0, ps0), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), pcf(tid4) = D16 ∨ pcf(tid4) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), val1 ∈ content(qrl0, ps0), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), pcf(tid4) = D16 ∨ pcf(tid4) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
Used formulas: tid4 = tid
| content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), tid4 = tid, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), val1 ∈ content(qrl0, ps0), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), pcf(tid4) = D16 ∨ pcf(tid4) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, val1 ∈ content(qrl0, ps0), ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid) = D16 ∨ pcf(tid) = E14, ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid))) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦
| content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, val1 ∈ content(qrl0, ps0), ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid) = D16 ∨ pcf(tid) = E14, ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid))) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦ |
content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid)) = apcf(tid), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = D16, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), alsf(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), val1 ∈ content(qrl0, ps0), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid))) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid)) = apcf(tid), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = E14, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), alsf(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), val1 ∈ content(qrl0, ps0), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid))) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
| content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid)) = apcf(tid), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = D16, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), alsf(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), val1 ∈ content(qrl0, ps0), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid))) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D17, (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D17) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(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 a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].val '; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ x + a ' = y + b ' ↔ x = y ∧ a = b; (ws) in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list[reflist] ⊦ pcstepf(gs, ls, D16, a) = D17; (s) ⊦ lstepf(gs, ls, D16, a) = ls; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) = mkgs (ps1, ps2, phead2, phead3, phead4, vretRefs1, vretRefs2, vrvHp1, vrvHp2, qrl1, qrl2, owns0, rvowns0) ↔ ps = ps1 ∧ ps0 = ps2 ∧ phead = phead2 ∧ phead0 = phead3 ∧ phead1 = phead4 ∧ vretRefs = vretRefs1 ∧ vretRefs0 = vretRefs2 ∧ vrvHp = vrvHp1 ∧ vrvHp0 = vrvHp2 ∧ qrl = qrl1 ∧ qrl0 = qrl2 ∧ owns = owns0 ∧ rvowns = rvowns0; (ws) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns:= owns0 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns0, rvowns); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (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) .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) .lst = node0; (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) ⊦ 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) .vs = ps0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ gstepf(gs, ls, D16, a) = ( ( gs .ps:= gs.ps [ls.lst, gs.ps[ls.lst].next:= gs.vs[ls.lst].next ]) .qrl:= (ls.lst = (gs.orl + gs.qrl).last ⊃ gs.qrl + ls.nxt;gs.qrl)) .owns:= (ls.lst = (gs.orl + gs.qrl).last ⊃ gs.owns(ls.nxt; None);gs.owns); (s)
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D17, (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D17) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(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 ) ) ) ) ) )
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D17, (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4) ;alsf(tid) )) ∨ (D17 = idle ⊃ idle ;(D17 = ready ⊃ ready ;(D17 = crashed ⊃ crashed ;( D17 = E1 ∨ D17 = E2 ∨ D17 = E3 ∨ D17 = E4 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ D17 = E5 ∨ D17 = E6 ∨ D17 = E7 ∨ D17 = E8 ∨ D17 = E9 ∨ D17 = E10 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ D17 = E11 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ D17 = E13 ∨ D17 = E14 ∨ D17 = E15 ∨ D17 = E16 ⊃ invEnq ;(D17 = E10 ∨ D17 = E11 ∨ D17 = E12 ∨ D17 = E4 ∨ D17 = E13 ∨ D17 = E17 ⊃ resEnq ;( D17 = D1 ∨ D17 = D2 ∨ D17 = D3 ∨ D17 = D4 ∨ D17 = D5 ∨ D17 = D6 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ D17 = D7 ∨ D17 = D8 ∨ D17 = D9 ∨ D17 = D10 ∨ D17 = D11 ∨ D17 = D12 ∨ D17 = D13 ∨ D17 = D14 ∨ D17 = D16 ∨ D17 = D17 ∨ D17 = D18 ∨ D17 = D19 ∨ D17 = D20 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None) ∨ D17 = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None ∨ D17 = D25 ∨ D17 = D26 ∨ D17 = D27 ∨ D17 = D28 ∨ D17 = D29 ∨ D17 = D30 ∨ D17 = D31 ∨ D17 = D32 ∨ D17 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), mkls (tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D17
| ⊦ 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 ) ) ) ) ) ) |
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D17, (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4) ;alsf(tid) )) ∨ (D17 = idle ⊃ idle ;(D17 = ready ⊃ ready ;(D17 = crashed ⊃ crashed ;( D17 = E1 ∨ D17 = E2 ∨ D17 = E3 ∨ D17 = E4 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ D17 = E5 ∨ D17 = E6 ∨ D17 = E7 ∨ D17 = E8 ∨ D17 = E9 ∨ D17 = E10 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ D17 = E11 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ D17 = E13 ∨ D17 = E14 ∨ D17 = E15 ∨ D17 = E16 ⊃ invEnq ;(D17 = E10 ∨ D17 = E11 ∨ D17 = E12 ∨ D17 = E4 ∨ D17 = E13 ∨ D17 = E17 ⊃ resEnq ;( D17 = D1 ∨ D17 = D2 ∨ D17 = D3 ∨ D17 = D4 ∨ D17 = D5 ∨ D17 = D6 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ D17 = D7 ∨ D17 = D8 ∨ D17 = D9 ∨ D17 = D10 ∨ D17 = D11 ∨ D17 = D12 ∨ D17 = D13 ∨ D17 = D14 ∨ D17 = D16 ∨ D17 = D17 ∨ D17 = D18 ∨ D17 = D19 ∨ D17 = D20 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None) ∨ D17 = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None ∨ D17 = D25 ∨ D17 = D26 ∨ D17 = D27 ∨ D17 = D28 ∨ D17 = D29 ∨ D17 = D30 ∨ D17 = D31 ∨ D17 = D32 ∨ D17 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D17, alsf(tid)) ∨ owns(vhead4).tid = tid ∨ invDeq ≠ apcf(tid) ⊦
Used simplifier rules: ⊦ invDeq ≠ resEnq; (s) ⊦ D16 ≠ D17; (s) ⊦ D14 ≠ D17; (s) ⊦ D13 ≠ D17; (s) ⊦ D12 ≠ D17; (s) ⊦ D11 ≠ D17; (s) ⊦ D10 ≠ D17; (s) ⊦ D9 ≠ D17; (s) ⊦ D8 ≠ D17; (s) ⊦ D7 ≠ D17; (s) ⊦ D6 ≠ D17; (s) ⊦ D5 ≠ D17; (s) ⊦ D4 ≠ D17; (s) ⊦ D3 ≠ D17; (s) ⊦ D2 ≠ D17; (s) ⊦ D1 ≠ D17; (s) ⊦ D17 ≠ E17; (s) ⊦ D17 ≠ E13; (s) ⊦ D17 ≠ E4; (s) ⊦ D17 ≠ E12; (s) ⊦ D17 ≠ E11; (s) ⊦ D17 ≠ E10; (s) ⊦ D17 ≠ E16; (s) ⊦ D17 ≠ E15; (s) ⊦ D17 ≠ E14; (s) ⊦ D17 ≠ E9; (s) ⊦ D17 ≠ E8; (s) ⊦ D17 ≠ E7; (s) ⊦ D17 ≠ E6; (s) ⊦ D17 ≠ E5; (s) ⊦ D17 ≠ E3; (s) ⊦ D17 ≠ E2; (s) ⊦ D17 ≠ E1; (s) ⊦ D17 ≠ crashed; (s) ⊦ D17 ≠ ready; (s) ⊦ D17 ≠ idle; (s)
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D17, alsf(tid)) ∨ owns(vhead4).tid = tid ∨ invDeq ≠ apcf(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)])
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ¬ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid = alsf(tid).tid ∧ ( D17 = E1 ∨ D17 = E2 ∨ D17 = E3 ∨ D17 = E4 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ D17 = E5 ∨ D17 = E6 ∨ D17 = E7 ∨ D17 = E8 ∨ D17 = E9 ∨ D17 = E10 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ D17 = E11 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ D17 = E13 ∨ D17 = E14 ∨ D17 = E15 ∨ D17 = E16 → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value = alsf(tid).ival) ∧ ( (D17 = D10 ∨ D17 = D11 ∨ D17 = D12 ∨ D17 = D13 ∨ D17 = D14) ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null → alsf(tid).obsEmpty) ∧ ( D17 = D20 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ D17 = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ D17 = D22 → alsf(tid).oval = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval) ∧ ( D17 = D15 ∨ D17 = D23 ∨ D17 = D24 ∨ D17 = D6 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ D17 = D34 → alsf(tid).oval = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .vrvHp [mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .vretRefs (mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ])) ∨ owns(vhead4).tid = tid ∨ invDeq ≠ apcf(tid), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), mkls (tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D17, 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)]) |
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ¬ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid = alsf(tid).tid ∧ ( D17 = E1 ∨ D17 = E2 ∨ D17 = E3 ∨ D17 = E4 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ D17 = E5 ∨ D17 = E6 ∨ D17 = E7 ∨ D17 = E8 ∨ D17 = E9 ∨ D17 = E10 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ D17 = E11 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ D17 = E13 ∨ D17 = E14 ∨ D17 = E15 ∨ D17 = E16 → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value = alsf(tid).ival) ∧ ( (D17 = D10 ∨ D17 = D11 ∨ D17 = D12 ∨ D17 = D13 ∨ D17 = D14) ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null → alsf(tid).obsEmpty) ∧ ( D17 = D20 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ D17 = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ D17 = D22 → alsf(tid).oval = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval) ∧ ( D17 = D15 ∨ D17 = D23 ∨ D17 = D24 ∨ D17 = D6 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ D17 = D34 → alsf(tid).oval = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .vrvHp [mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0) .vretRefs (mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ])) ∨ owns(vhead4).tid = tid ∨ invDeq ≠ apcf(tid), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, tid ≠ alsf(tid).tid ∨ owns(vhead4).tid = tid ∨ invDeq ≠ apcf(tid) ⊦
Used simplifier rules: ⊦ D17 ≠ D34; (s) ⊦ D6 ≠ D17; (s) ⊦ D17 ≠ D24; (s) ⊦ D17 ≠ D23; (s) ⊦ D15 ≠ D17; (s) ⊦ D17 ≠ D22; (s) ⊦ D17 ≠ D21; (s) ⊦ D17 ≠ D20; (s) ⊦ D14 ≠ D17; (s) ⊦ D13 ≠ D17; (s) ⊦ D12 ≠ D17; (s) ⊦ D11 ≠ D17; (s) ⊦ D10 ≠ D17; (s) ⊦ D17 ≠ E16; (s) ⊦ D17 ≠ E15; (s) ⊦ D17 ≠ E14; (s) ⊦ D17 ≠ E13; (s) ⊦ D17 ≠ E11; (s) ⊦ D17 ≠ E10; (s) ⊦ D17 ≠ E9; (s) ⊦ D17 ≠ E8; (s) ⊦ D17 ≠ E7; (s) ⊦ D17 ≠ E6; (s) ⊦ D17 ≠ E5; (s) ⊦ D17 ≠ E4; (s) ⊦ D17 ≠ E3; (s) ⊦ D17 ≠ E2; (s) ⊦ D17 ≠ E1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, tid ≠ alsf(tid).tid ∨ owns(vhead4).tid = tid ∨ invDeq ≠ apcf(tid) ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), tid ≠ tid0 ∨ owns(vhead4).tid = tid ∨ invDeq ≠ apcf(tid), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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, obsEmpty3, alsf(tid), oval, tid0, optval7
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), tid ≠ tid0 ∨ owns(vhead4).tid = tid ∨ invDeq ≠ apcf(tid), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, mkls(tid0, obsEmpty3, val1, optval7, val4, optval8)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, tid ≠ tid0 ∨ owns(vhead4).tid = tid0 ∨ invDeq ≠ apcf(tid0) ⊦
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, mkls(tid0, obsEmpty3, val1, optval7, val4, optval8)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, tid ≠ tid0 ∨ owns(vhead4).tid = tid0 ∨ invDeq ≠ apcf(tid0) ⊦ |
⊦ 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)])
mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).tid, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ D16 = E11 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).ival, (D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14) ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null → mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).obsEmpty, D16 = D20 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ D16 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ D16 = D22 → mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).oval = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval, D16 = D15 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D6 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ D16 = D34 → mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ], ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), tid ≠ tid0 ∨ owns(vhead4).tid = tid0 ∨ invDeq ≠ apcf(tid0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, mkls(tid0, obsEmpty3, val1, optval7, val4, optval8)
| ⊦ 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)]) |
| mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).tid, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ D16 = E11 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).ival, (D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14) ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null → mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).obsEmpty, D16 = D20 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ D16 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ D16 = D22 → mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).oval = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval, D16 = D15 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D6 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ D16 = D34 → mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ], ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), tid ≠ tid0 ∨ owns(vhead4).tid = tid0 ∨ invDeq ≠ apcf(tid0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid0), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), alsf(tid0) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), owns(vhead4).tid = tid0 ∨ invDeq ≠ apcf(tid0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D16 ≠ E16; (s) ⊦ D16 ≠ E15; (s) ⊦ D16 ≠ E14; (s) ⊦ D16 ≠ E13; (s) ⊦ D16 ≠ E11; (s) ⊦ D16 ≠ E10; (s) ⊦ D16 ≠ E9; (s) ⊦ D16 ≠ E8; (s) ⊦ D16 ≠ E7; (s) ⊦ D16 ≠ E6; (s) ⊦ D16 ≠ E5; (s) ⊦ D16 ≠ E4; (s) ⊦ D16 ≠ E3; (s) ⊦ D16 ≠ E2; (s) ⊦ D16 ≠ E1; (s) ⊦ D14 ≠ D16; (s) ⊦ D13 ≠ D16; (s) ⊦ D12 ≠ D16; (s) ⊦ D11 ≠ D16; (s) ⊦ D10 ≠ D16; (s) ⊦ D16 ≠ D22; (s) ⊦ D16 ≠ D21; (s) ⊦ D16 ≠ D20; (s) ⊦ D16 ≠ D34; (s) ⊦ D6 ≠ D16; (s) ⊦ D16 ≠ D24; (s) ⊦ D16 ≠ D23; (s) ⊦ D15 ≠ D16; (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)
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid0), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), alsf(tid0) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid0) = D16, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), owns(vhead4).tid = tid0 ∨ invDeq ≠ apcf(tid0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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: ⊦ D16 ≠ idle; (s) ⊦ D16 ≠ ready; (s) ⊦ D16 ≠ crashed; (s) ⊦ D16 ≠ E1; (s) ⊦ D16 ≠ E2; (s) ⊦ D16 ≠ E3; (s) ⊦ D16 ≠ E5; (s) ⊦ D16 ≠ E6; (s) ⊦ D16 ≠ E7; (s) ⊦ D16 ≠ E8; (s) ⊦ D16 ≠ E9; (s) ⊦ D16 ≠ E14; (s) ⊦ D16 ≠ E15; (s) ⊦ D16 ≠ E16; (s) ⊦ D16 ≠ E10; (s) ⊦ D16 ≠ E11; (s) ⊦ D16 ≠ E12; (s) ⊦ D16 ≠ E4; (s) ⊦ D16 ≠ E13; (s) ⊦ D16 ≠ E17; (s) ⊦ D1 ≠ D16; (s) ⊦ D2 ≠ D16; (s) ⊦ D3 ≠ D16; (s) ⊦ D4 ≠ D16; (s) ⊦ D5 ≠ D16; (s) ⊦ D6 ≠ D16; (s) ⊦ D7 ≠ D16; (s) ⊦ D8 ≠ D16; (s) ⊦ D9 ≠ D16; (s) ⊦ D10 ≠ D16; (s) ⊦ D11 ≠ D16; (s) ⊦ D12 ≠ D16; (s) ⊦ D13 ≠ D16; (s) ⊦ D14 ≠ D16; (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) ⊦ invDeq ≠ invEnq; (s) Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16
| ⊦ 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 ) ) ) ) ) ) |
| content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid)) = apcf(tid), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = E14, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), alsf(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), val1 ∈ content(qrl0, ps0), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)), pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid))) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E15, (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E15) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(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 a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].val '; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ x + a ' = y + b ' ↔ x = y ∧ a = b; (ws) in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list[reflist] ⊦ pcstepf(gs, ls, E14, a) = E15; (s) ⊦ lstepf(gs, ls, E14, a) = ls; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) = mkgs (ps1, ps2, phead2, phead3, phead4, vretRefs1, vretRefs2, vrvHp1, vrvHp2, qrl1, qrl2, owns0, rvowns0) ↔ ps = ps1 ∧ ps0 = ps2 ∧ phead = phead2 ∧ phead0 = phead3 ∧ phead1 = phead4 ∧ vretRefs = vretRefs1 ∧ vretRefs0 = vretRefs2 ∧ vrvHp = vrvHp1 ∧ vrvHp0 = vrvHp2 ∧ qrl = qrl1 ∧ qrl0 = qrl2 ∧ owns = owns0 ∧ rvowns = rvowns0; (ws) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns:= owns0 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns0, rvowns); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (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) .owns = owns; (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) .qrl:= qrl1 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl1, qrl0, owns, rvowns); (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) ⊦ gstepf(gs, ls, E14, a) = ( ( gs .ps:= gs.ps [ls.lst, gs.ps[ls.lst].next:= gs.vs[ls.lst].next ]) .qrl:= (ls.lst = (gs.orl + gs.qrl).last ⊃ gs.qrl + gs.vs[ls.lst].next ;gs.qrl )) .owns:= (ls.lst = (gs.orl + gs.qrl).last ⊃ gs.owns(gs.vs[ls.lst].next; None) ;gs.owns ); (s)
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E15, (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E15) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(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 ) ) ) ) ) )
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E15, (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ (E15 = idle ⊃ idle ;(E15 = ready ⊃ ready ;(E15 = crashed ⊃ crashed ;( E15 = E1 ∨ E15 = E2 ∨ E15 = E3 ∨ E15 = E4 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E15 = E5 ∨ E15 = E6 ∨ E15 = E7 ∨ E15 = E8 ∨ E15 = E9 ∨ E15 = E10 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ E15 = E11 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ E15 = E13 ∨ E15 = E14 ∨ E15 = E15 ∨ E15 = E16 ⊃ invEnq ;(E15 = E10 ∨ E15 = E11 ∨ E15 = E12 ∨ E15 = E4 ∨ E15 = E13 ∨ E15 = E17 ⊃ resEnq ;( E15 = D1 ∨ E15 = D2 ∨ E15 = D3 ∨ E15 = D4 ∨ E15 = D5 ∨ E15 = D6 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E15 = D7 ∨ E15 = D8 ∨ E15 = D9 ∨ E15 = D10 ∨ E15 = D11 ∨ E15 = D12 ∨ E15 = D13 ∨ E15 = D14 ∨ E15 = D16 ∨ E15 = D17 ∨ E15 = D18 ∨ E15 = D19 ∨ E15 = D20 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None) ∨ E15 = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None ∨ E15 = D25 ∨ E15 = D26 ∨ E15 = D27 ∨ E15 = D28 ∨ E15 = D29 ∨ E15 = D30 ∨ E15 = D31 ∨ E15 = D32 ∨ E15 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E15
| ⊦ 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 ) ) ) ) ) ) |
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E15, (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ (E15 = idle ⊃ idle ;(E15 = ready ⊃ ready ;(E15 = crashed ⊃ crashed ;( E15 = E1 ∨ E15 = E2 ∨ E15 = E3 ∨ E15 = E4 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E15 = E5 ∨ E15 = E6 ∨ E15 = E7 ∨ E15 = E8 ∨ E15 = E9 ∨ E15 = E10 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ E15 = E11 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ E15 = E13 ∨ E15 = E14 ∨ E15 = E15 ∨ E15 = E16 ⊃ invEnq ;(E15 = E10 ∨ E15 = E11 ∨ E15 = E12 ∨ E15 = E4 ∨ E15 = E13 ∨ E15 = E17 ⊃ resEnq ;( E15 = D1 ∨ E15 = D2 ∨ E15 = D3 ∨ E15 = D4 ∨ E15 = D5 ∨ E15 = D6 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E15 = D7 ∨ E15 = D8 ∨ E15 = D9 ∨ E15 = D10 ∨ E15 = D11 ∨ E15 = D12 ∨ E15 = D13 ∨ E15 = D14 ∨ E15 = D16 ∨ E15 = D17 ∨ E15 = D18 ∨ E15 = D19 ∨ E15 = D20 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None) ∨ E15 = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None ∨ E15 = D25 ∨ E15 = D26 ∨ E15 = D27 ∨ E15 = D28 ∨ E15 = D29 ∨ E15 = D30 ∨ E15 = D31 ∨ E15 = D32 ∨ E15 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E15, alsf(tid)) ∨ owns(vhead4).tid = tid ∨ invEnq ≠ apcf(tid) ⊦
Used simplifier rules: ⊦ invEnq ≠ resEnq; (s) ⊦ E14 ≠ E15; (s) ⊦ E13 ≠ E15; (s) ⊦ E11 ≠ E15; (s) ⊦ E10 ≠ E15; (s) ⊦ E9 ≠ E15; (s) ⊦ E8 ≠ E15; (s) ⊦ E7 ≠ E15; (s) ⊦ E6 ≠ E15; (s) ⊦ E5 ≠ E15; (s) ⊦ E4 ≠ E15; (s) ⊦ E3 ≠ E15; (s) ⊦ E2 ≠ E15; (s) ⊦ E1 ≠ E15; (s) ⊦ E15 ≠ crashed; (s) ⊦ E15 ≠ ready; (s) ⊦ E15 ≠ idle; (s)
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E15, alsf(tid)) ∨ owns(vhead4).tid = tid ∨ invEnq ≠ apcf(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)])
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ¬ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid = alsf(tid).tid ∧ ( E15 = E1 ∨ E15 = E2 ∨ E15 = E3 ∨ E15 = E4 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E15 = E5 ∨ E15 = E6 ∨ E15 = E7 ∨ E15 = E8 ∨ E15 = E9 ∨ E15 = E10 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ E15 = E11 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ E15 = E13 ∨ E15 = E14 ∨ E15 = E15 ∨ E15 = E16 → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value = alsf(tid).ival) ∧ ( (E15 = D10 ∨ E15 = D11 ∨ E15 = D12 ∨ E15 = D13 ∨ E15 = D14) ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null → alsf(tid).obsEmpty) ∧ ( E15 = D20 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E15 = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E15 = D22 → alsf(tid).oval = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval) ∧ ( E15 = D15 ∨ E15 = D23 ∨ E15 = D24 ∨ E15 = D6 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E15 = D34 → alsf(tid).oval = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vrvHp [mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vretRefs (mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ])) ∨ owns(vhead4).tid = tid ∨ invEnq ≠ apcf(tid), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E15, 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)]) |
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ¬ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid = alsf(tid).tid ∧ ( E15 = E1 ∨ E15 = E2 ∨ E15 = E3 ∨ E15 = E4 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E15 = E5 ∨ E15 = E6 ∨ E15 = E7 ∨ E15 = E8 ∨ E15 = E9 ∨ E15 = E10 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ E15 = E11 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ E15 = E13 ∨ E15 = E14 ∨ E15 = E15 ∨ E15 = E16 → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value = alsf(tid).ival) ∧ ( (E15 = D10 ∨ E15 = D11 ∨ E15 = D12 ∨ E15 = D13 ∨ E15 = D14) ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null → alsf(tid).obsEmpty) ∧ ( E15 = D20 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E15 = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E15 = D22 → alsf(tid).oval = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval) ∧ ( E15 = D15 ∨ E15 = D23 ∨ E15 = D24 ∨ E15 = D6 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E15 = D34 → alsf(tid).oval = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vrvHp [mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vretRefs (mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ])) ∨ owns(vhead4).tid = tid ∨ invEnq ≠ apcf(tid), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, tid ≠ alsf(tid).tid ∨ val3 ≠ alsf(tid).ival ∨ owns(vhead4).tid = tid ∨ invEnq ≠ apcf(tid) ⊦
Used simplifier rules: ⊦ D34 ≠ E15; (s) ⊦ D6 ≠ E15; (s) ⊦ D24 ≠ E15; (s) ⊦ D23 ≠ E15; (s) ⊦ D15 ≠ E15; (s) ⊦ D22 ≠ E15; (s) ⊦ D21 ≠ E15; (s) ⊦ D20 ≠ E15; (s) ⊦ D14 ≠ E15; (s) ⊦ D13 ≠ E15; (s) ⊦ D12 ≠ E15; (s) ⊦ D11 ≠ E15; (s) ⊦ D10 ≠ E15; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ E14 ≠ E15; (s) ⊦ E13 ≠ E15; (s) ⊦ E11 ≠ E15; (s) ⊦ E10 ≠ E15; (s) ⊦ E9 ≠ E15; (s) ⊦ E8 ≠ E15; (s) ⊦ E7 ≠ E15; (s) ⊦ E6 ≠ E15; (s) ⊦ E5 ≠ E15; (s) ⊦ E4 ≠ E15; (s) ⊦ E3 ≠ E15; (s) ⊦ E2 ≠ E15; (s) ⊦ E1 ≠ E15; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, tid ≠ alsf(tid).tid ∨ val3 ≠ alsf(tid).ival ∨ owns(vhead4).tid = tid ∨ invEnq ≠ apcf(tid) ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), tid ≠ tid0 ∨ val3 ≠ val1 ∨ owns(vhead4).tid = tid ∨ invEnq ≠ apcf(tid), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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, obsEmpty3, alsf(tid), oval, tid0, optval7
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), tid ≠ tid0 ∨ val3 ≠ val1 ∨ owns(vhead4).tid = tid ∨ invEnq ≠ apcf(tid), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid), alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, mkls(tid0, obsEmpty3, val1, optval7, val4, optval8)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, tid ≠ tid0 ∨ val3 ≠ val1 ∨ owns(vhead4).tid = tid0 ∨ invEnq ≠ apcf(tid0) ⊦
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid), alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, mkls(tid0, obsEmpty3, val1, optval7, val4, optval8)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, tid ≠ tid0 ∨ val3 ≠ val1 ∨ owns(vhead4).tid = tid0 ∨ invEnq ≠ apcf(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 ) ) ) ) ) )
(E14 = idle ⊃ idle ;(E14 = ready ⊃ ready ;(E14 = crashed ⊃ crashed ;( E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ E14 = E11 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 ⊃ invEnq ;(E14 = E10 ∨ E14 = E11 ∨ E14 = E12 ∨ E14 = E4 ∨ E14 = E13 ∨ E14 = E17 ⊃ resEnq ;( E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None) ∨ E14 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, mkls(tid0, obsEmpty3, val1, optval7, val4, optval8)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), tid ≠ tid0 ∨ val3 ≠ val1 ∨ owns(vhead4).tid = tid0 ∨ invEnq ≠ apcf(tid0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14
| ⊦ 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 ) ) ) ) ) ) |
| (E14 = idle ⊃ idle ;(E14 = ready ⊃ ready ;(E14 = crashed ⊃ crashed ;( E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ E14 = E11 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 ⊃ invEnq ;(E14 = E10 ∨ E14 = E11 ∨ E14 = E12 ∨ E14 = E4 ∨ E14 = E13 ∨ E14 = E17 ⊃ resEnq ;( E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None) ∨ E14 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, mkls(tid0, obsEmpty3, val1, optval7, val4, optval8)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), tid ≠ tid0 ∨ val3 ≠ val1 ∨ owns(vhead4).tid = tid0 ∨ invEnq ≠ apcf(tid0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, mkls(tid0, obsEmpty3, val1, optval7, val4, optval8)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, tid ≠ tid0 ∨ val3 ≠ val1 ∨ owns(vhead4).tid = tid0 ⊦
Used simplifier rules: ⊦ E13 ≠ E14; (s) ⊦ E11 ≠ E14; (s) ⊦ E10 ≠ E14; (s) ⊦ E9 ≠ E14; (s) ⊦ E8 ≠ E14; (s) ⊦ E7 ≠ E14; (s) ⊦ E6 ≠ E14; (s) ⊦ E5 ≠ E14; (s) ⊦ E4 ≠ E14; (s) ⊦ E3 ≠ E14; (s) ⊦ E2 ≠ E14; (s) ⊦ E1 ≠ E14; (s) ⊦ E14 ≠ crashed; (s) ⊦ E14 ≠ ready; (s) ⊦ E14 ≠ idle; (s)
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, mkls(tid0, obsEmpty3, val1, optval7, val4, optval8)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, tid ≠ tid0 ∨ val3 ≠ val1 ∨ owns(vhead4).tid = tid0 ⊦ |
⊦ 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)])
mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).tid, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ E14 = E11 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).ival, (E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14) ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null → mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).obsEmpty, E14 = D20 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E14 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E14 = D22 → mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).oval = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval, E14 = D15 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D6 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = D34 → mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ], ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), tid ≠ tid0 ∨ val3 ≠ val1 ∨ owns(vhead4).tid = tid0, pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, mkls(tid0, obsEmpty3, val1, optval7, val4, optval8)
| ⊦ 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)]) |
| mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).tid, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∧ ¬ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∧ ( mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ E14 = E11 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value = mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).ival, (E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14) ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null → mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).obsEmpty, E14 = D20 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E14 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E14 = D22 → mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).oval = mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval, E14 = D15 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D6 ∧ mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = D34 → mkls(tid0, obsEmpty3, val1, optval7, val4, optval8).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ], ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), tid ≠ tid0 ∨ val3 ≠ val1 ∨ owns(vhead4).tid = tid0, pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E14) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(phead2).tid) = mkls (owns(phead2).tid, obsEmpty3, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval7, val4, optval8), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(owns(phead2).tid), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(phead2).tid) = mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(phead2).tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D14 ≠ E14; (s) ⊦ D13 ≠ E14; (s) ⊦ D12 ≠ E14; (s) ⊦ D11 ≠ E14; (s) ⊦ D10 ≠ E14; (s) ⊦ D22 ≠ E14; (s) ⊦ D21 ≠ E14; (s) ⊦ D20 ≠ E14; (s) ⊦ D34 ≠ E14; (s) ⊦ D6 ≠ E14; (s) ⊦ D24 ≠ E14; (s) ⊦ D23 ≠ E14; (s) ⊦ D15 ≠ E14; (s) ⊦ 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) ⊦ 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).ival = ival; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ E13 ≠ E14; (s) ⊦ E11 ≠ E14; (s) ⊦ E10 ≠ E14; (s) ⊦ E9 ≠ E14; (s) ⊦ E8 ≠ E14; (s) ⊦ E7 ≠ E14; (s) ⊦ E6 ≠ E14; (s) ⊦ E5 ≠ E14; (s) ⊦ E4 ≠ E14; (s) ⊦ E3 ≠ E14; (s) ⊦ E2 ≠ E14; (s) ⊦ E1 ≠ E14; (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)
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E14) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(phead2).tid) = mkls (owns(phead2).tid, obsEmpty3, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval7, val4, optval8), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(owns(phead2).tid), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(phead2).tid) = mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(phead2).tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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 ) ) ) ) ) )
(E14 = idle ⊃ idle ;(E14 = ready ⊃ ready ;(E14 = crashed ⊃ crashed ;( E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∧ ¬ mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∧ ( mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success → mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null) ∨ E14 = E11 ∧ mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 ⊃ invEnq ;(E14 = E10 ∨ E14 = E11 ∨ E14 = E12 ∨ E14 = E4 ∨ E14 = E13 ∨ E14 = E17 ⊃ resEnq ;( E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∧ ¬ mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∧ ( mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID = None) ∨ E14 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID = None ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(phead2).tid) = mkls (owns(phead2).tid, obsEmpty3, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval7, val4, optval8), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(owns(phead2).tid), lsf(owns(phead2).tid) = mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(phead2).tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next] [vs0[(orl0 + qrl).last].next ] .val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E14
| ⊦ 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 ) ) ) ) ) ) |
| (E14 = idle ⊃ idle ;(E14 = ready ⊃ ready ;(E14 = crashed ⊃ crashed ;( E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∧ ¬ mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∧ ( mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success → mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null) ∨ E14 = E11 ∧ mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 ⊃ invEnq ;(E14 = E10 ∨ E14 = E11 ∨ E14 = E12 ∨ E14 = E4 ∨ E14 = E13 ∨ E14 = E17 ⊃ resEnq ;( E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∧ ¬ mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∧ ( mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID = None) ∨ E14 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID = None ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(phead2).tid) = mkls (owns(phead2).tid, obsEmpty3, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval7, val4, optval8), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(owns(phead2).tid), lsf(owns(phead2).tid) = mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(phead2).tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(phead2).tid) = mkls (owns(phead2).tid, obsEmpty3, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval7, val4, optval8), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(owns(phead2).tid), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(phead2).tid) = mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(phead2).tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ E13 ≠ E14; (s) ⊦ E11 ≠ E14; (s) ⊦ E10 ≠ E14; (s) ⊦ E9 ≠ E14; (s) ⊦ E8 ≠ E14; (s) ⊦ E7 ≠ E14; (s) ⊦ E6 ≠ E14; (s) ⊦ E5 ≠ E14; (s) ⊦ E4 ≠ E14; (s) ⊦ E3 ≠ E14; (s) ⊦ E2 ≠ E14; (s) ⊦ E1 ≠ E14; (s) ⊦ E14 ≠ crashed; (s) ⊦ E14 ≠ ready; (s) ⊦ E14 ≠ idle; (s)
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(phead2).tid) = mkls (owns(phead2).tid, obsEmpty3, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval7, val4, optval8), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(owns(phead2).tid), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(phead2).tid) = mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(phead2).tid) = E14, orl0 ≠ [], DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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: ⊦ D1 ≠ E14; (s) ⊦ D2 ≠ E14; (s) ⊦ E14 ≠ E17; (s) ⊦ E14 ≠ crashed; (s) ⊦ E14 ≠ idle; (s) ⊦ E14 ≠ ready; (s) ⊦ E1 ≠ E14; (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) .success ↔ success; (s) ⊦ D7 ≠ E14; (s) ⊦ D32 ≠ E14; (s) ⊦ D33 ≠ E14; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ E4 ≠ E14; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ E14 ≠ E16; (s) ⊦ E14 ≠ E15; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ 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) ⊦ x.last ∈ x ↔ x ≠ []; (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) .lst = node0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ E13 ≠ E14; (s) ⊦ E12 ≠ E14; (s) ⊦ E9 ≠ E14; (s) ⊦ E8 ≠ E14; (s) ⊦ E7 ≠ E14; (s) ⊦ E6 ≠ E14; (s) ⊦ E5 ≠ E14; (s) ⊦ E3 ≠ E14; (s) ⊦ E2 ≠ E14; (s) ⊦ D34 ≠ E14; (s) ⊦ D31 ≠ E14; (s) ⊦ D30 ≠ E14; (s) ⊦ D29 ≠ E14; (s) ⊦ D28 ≠ E14; (s) ⊦ D27 ≠ E14; (s) ⊦ D26 ≠ E14; (s) ⊦ D25 ≠ E14; (s) ⊦ D24 ≠ E14; (s) ⊦ D23 ≠ E14; (s) ⊦ D22 ≠ E14; (s) ⊦ D21 ≠ E14; (s) ⊦ D20 ≠ E14; (s) ⊦ D19 ≠ E14; (s) ⊦ D18 ≠ E14; (s) ⊦ D17 ≠ E14; (s) ⊦ D16 ≠ E14; (s) ⊦ D15 ≠ E14; (s) ⊦ D14 ≠ E14; (s) ⊦ D13 ≠ E14; (s) ⊦ D12 ≠ E14; (s) ⊦ D11 ≠ E14; (s) ⊦ D10 ≠ E14; (s) ⊦ D9 ≠ E14; (s) ⊦ D8 ≠ E14; (s) ⊦ D6 ≠ E14; (s) ⊦ D5 ≠ E14; (s) ⊦ D4 ≠ E14; (s) ⊦ D3 ≠ E14; (s) listp-nextoflast: ⊦ listp(rl, vs, ps, owns) ∧ vs[rl.last].next ≠ null → vs[rl.last].next ∈ vs ∧ vs[rl.last].next ∈ ps ∧ ps[vs[rl.last].next] = vs[vs[rl.last].next] ∧ ps[vs[rl.last].next].deqID = None ∧ ps[vs[rl.last].next].next = null ∧ weak?(owns(vs[rl.last].next)); (forward) from specification DMSQ fw-some-oneowns: ⊦ oneowns(tid, r0, owns, vs, ps) ∧ owns(r) = Some(tid) ∧ r ∈ ps ∧ r ∈ vs → r = r0; (forward) from specification DMSQ ⊦ 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) ⊦ E10 ≠ E14; (s) ⊦ E11 ≠ E14; (s) Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(phead2).tid, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next] [vs0[(orl0 + qrl).last].next ] .val, optval1, phead0, nd0, obsEmpty0, (orl0 + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E14
| ⊦ 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))) |
| content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), orl ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), val1 ∈ content(qrl0, ps0), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) ), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), (tid4 = tid ⊃ lstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;lsf(tid) ), (tid4 = tid ⊃ pcstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid), doEnq(owns(vhead4).tid)) ;pcf(tid) )) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), pcf(tid4) = D16 ∨ pcf(tid4) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, val1 ∈ content(qrl0, ps0), ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid4) = D16 ∨ pcf(tid4) = E14, ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc(mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦
| content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), orl ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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, val1 ∈ content(qrl0, ps0), ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid4) = D16 ∨ pcf(tid4) = E14, ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc(mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦ |
content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = D16, orl ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), val1 ∈ content(qrl0, ps0), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc(mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = E14, orl ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), val1 ∈ content(qrl0, ps0), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc(mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
| content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = D16, orl ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), val1 ∈ content(qrl0, ps0), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc(mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid4), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = D16, orl0 ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦
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 a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].val '; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ x + a ' = y + b ' ↔ x = y ∧ a = b; (ws) in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list[reflist] ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) = mkgs (ps1, ps2, phead2, phead3, phead4, vretRefs1, vretRefs2, vrvHp1, vrvHp2, qrl1, qrl2, owns0, rvowns0) ↔ ps = ps1 ∧ ps0 = ps2 ∧ phead = phead2 ∧ phead0 = phead3 ∧ phead1 = phead4 ∧ vretRefs = vretRefs1 ∧ vretRefs0 = vretRefs2 ∧ vrvHp = vrvHp1 ∧ vrvHp0 = vrvHp2 ∧ qrl = qrl1 ∧ qrl0 = qrl2 ∧ owns = owns0 ∧ rvowns = rvowns0; (ws) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns:= owns0 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns0, rvowns); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (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) .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) .lst = node0; (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) ⊦ 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) .vs = ps0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ gstepf(gs, ls, D16, a) = ( ( gs .ps:= gs.ps [ls.lst, gs.ps[ls.lst].next:= gs.vs[ls.lst].next ]) .qrl:= (ls.lst = (gs.orl + gs.qrl).last ⊃ gs.qrl + ls.nxt;gs.qrl)) .owns:= (ls.lst = (gs.orl + gs.qrl).last ⊃ gs.owns(ls.nxt; None);gs.owns); (s)
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid4), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = D16, orl0 ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦ |
⊦ 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)))
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid4), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4) = D16, orl0 ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D16 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, D16 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, D16 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = D6 → ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ∨ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), D16 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, D16 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, D16 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), D16 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), D16 = D12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next), D16 = D13 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, D16 = D14 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, D16 = D15 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty, D16 = D16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = D17 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = D18 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, D16 = D19 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), D16 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success) ∧ (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ), D16 = D21 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first), D16 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, D16 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], D16 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], D16 = D25 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), D16 = D26 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), D16 = D27 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), D16 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), D16 = D29 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), D16 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), D16 = D31 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, D16 = D34 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), D16 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D16 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), D16 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), D16 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), D16 = E10 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), D16 = E11 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), D16 = E12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null, D16 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E2 ∨ D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D16 = E4 ∨ D16 = E10 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null), D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = D13 ∨ D16 = D14 ∨ D16 = D15 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E2 ∨ D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success, D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), D16 = idle ∨ D16 = ready ∨ D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∨ D16 = E11 ∨ D16 = E12 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 ∨ D16 = E17 ∨ D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ∨ D16 = D34 → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D16 = crashed ∨ D16 = idle ∨ D16 = ready ∨ D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∨ D16 = E11 ∨ D16 = E12 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 ∨ D16 = E17 ∨ D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ∨ D16 = D34 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D18 ∨ D16 = D19 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D16 = D22 ∨ D16 = D23 ∨ D16 = D24 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D16 = crashed ∨ D16 = idle ∨ D16 = ready ∨ D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ∨ D16 = D34 ∨ D16 = E1 ∨ D16 = E12 ∨ D16 = E17 → noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D16 = E2 ∨ D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D16 = E10 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D16 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D16 = E4 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16
| ⊦ 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))) |
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16) = apcf(tid4), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4) = D16, orl0 ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), D16, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D16 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, D16 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, D16 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = D6 → ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ∨ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), D16 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, D16 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, D16 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), D16 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), D16 = D12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next), D16 = D13 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, D16 = D14 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, D16 = D15 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty, D16 = D16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = D17 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = D18 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, D16 = D19 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), D16 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success) ∧ (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ), D16 = D21 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first), D16 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, D16 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], D16 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], D16 = D25 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), D16 = D26 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), D16 = D27 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), D16 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), D16 = D29 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), D16 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), D16 = D31 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, D16 = D34 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), D16 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D16 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), D16 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), D16 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), D16 = E10 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), D16 = E11 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), D16 = E12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null, D16 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, D16 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E2 ∨ D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D16 = E4 ∨ D16 = E10 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null), D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = D13 ∨ D16 = D14 ∨ D16 = D15 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), D16 = E2 ∨ D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success, D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), D16 = idle ∨ D16 = ready ∨ D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∨ D16 = E11 ∨ D16 = E12 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 ∨ D16 = E17 ∨ D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ∨ D16 = D34 → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D16 = crashed ∨ D16 = idle ∨ D16 = ready ∨ D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∨ D16 = E11 ∨ D16 = E12 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 ∨ D16 = E17 ∨ D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ∨ D16 = D34 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D18 ∨ D16 = D19 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D16 = D22 ∨ D16 = D23 ∨ D16 = D24 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D16 = crashed ∨ D16 = idle ∨ D16 = ready ∨ D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D15 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∨ D16 = D21 ∨ D16 = D22 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ∨ D16 = D34 ∨ D16 = E1 ∨ D16 = E12 ∨ D16 = E17 → noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D16 = E2 ∨ D16 = E3 ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D16 = E10 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D16 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D16 = E4 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead4].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vhead4 ', orl0, owns(vhead4; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16) = apcf(tid4), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), mkls (owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid4) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E1 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E2 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E3 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E4 ∧ ¬ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E5 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E6 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E7 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E8 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E9 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E14 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D12 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D14) ∧ vhead2 = null → obsEmpty1, pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D22 → optval3 = optval, pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D23 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D24 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D6 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vs0[(orl0 + qrl).last].next).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (owns(vs0[(orl0 + qrl).last].next).tid = tid ⊃ mkls (owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vs0[(orl0 + qrl).last].next).tid = tid ⊃ resEnq;apcf(tid)) ⊦
Used simplifier rules: ⊦ 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) listp-nextoflast: ⊦ listp(rl, vs, ps, owns) ∧ vs[rl.last].next ≠ null → vs[rl.last].next ∈ vs ∧ vs[rl.last].next ∈ ps ∧ ps[vs[rl.last].next] = vs[vs[rl.last].next] ∧ ps[vs[rl.last].next].deqID = None ∧ ps[vs[rl.last].next].next = null ∧ weak?(owns(vs[rl.last].next)); (forward) from specification DMSQ ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) ⊦ D3 ≠ D16; (s) ⊦ D4 ≠ D16; (s) ⊦ D5 ≠ D16; (s) ⊦ D6 ≠ D16; (s) ⊦ D8 ≠ D16; (s) ⊦ D9 ≠ D16; (s) ⊦ D10 ≠ D16; (s) ⊦ D11 ≠ D16; (s) ⊦ D12 ≠ D16; (s) ⊦ D13 ≠ D16; (s) ⊦ D14 ≠ D16; (s) ⊦ D15 ≠ D16; (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) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ x.last ∈ x ↔ x ≠ []; (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) ⊦ D16 ≠ D17; (s) ⊦ D16 ≠ D18; (s) ⊦ D16 ≠ D19; (s) ⊦ D16 ≠ D20; (s) ⊦ D16 ≠ D21; (s) ⊦ D16 ≠ D22; (s) ⊦ D16 ≠ D23; (s) ⊦ D16 ≠ D24; (s) ⊦ D16 ≠ D25; (s) ⊦ D16 ≠ D26; (s) ⊦ D16 ≠ D27; (s) ⊦ D16 ≠ D28; (s) ⊦ D16 ≠ D29; (s) ⊦ D16 ≠ D30; (s) ⊦ D16 ≠ D31; (s) ⊦ D16 ≠ D34; (s) ⊦ D16 ≠ E2; (s) ⊦ D16 ≠ E3; (s) ⊦ D16 ≠ E5; (s) ⊦ D16 ≠ E6; (s) ⊦ D16 ≠ E7; (s) ⊦ D16 ≠ E8; (s) ⊦ D16 ≠ E9; (s) ⊦ D16 ≠ E10; (s) ⊦ D16 ≠ E11; (s) ⊦ D16 ≠ E12; (s) ⊦ D16 ≠ E13; (s) ⊦ D16 ≠ E14; (s) ⊦ D16 ≠ E15; (s) ⊦ D16 ≠ E16; (s) ⊦ D16 ≠ 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) .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) ⊦ D7 ≠ D16; (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 ≠ D16; (s) ⊦ D1 ≠ D16; (s) ⊦ D16 ≠ E17; (s) ⊦ D16 ≠ E1; (s) ⊦ D16 ≠ ready; (s) ⊦ D16 ≠ idle; (s) ⊦ D16 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16) = apcf(tid4), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), mkls (owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid4) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E1 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E2 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E3 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E4 ∧ ¬ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E5 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E6 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E7 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E8 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E9 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E14 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D12 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D14) ∧ vhead2 = null → obsEmpty1, pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D22 → optval3 = optval, pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D23 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D24 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D6 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vs0[(orl0 + qrl).last].next).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (owns(vs0[(orl0 + qrl).last].next).tid = tid ⊃ mkls (owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vs0[(orl0 + qrl).last].next).tid = tid ⊃ resEnq;apcf(tid)) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16) = apcf(tid4), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid4) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used simplifier rules: ⊦ weak?(opttid) → (tid = opttid.tid ↔ opttid = Weak(tid)); (elim) Used terms: owns(vs0[(orl0 + qrl).last].next), tid0
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16) = apcf(tid4), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid4) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16) = apcf(tid4), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid4) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used simplifier rules: ⊦ weak?(Weak(tid)); (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16) = apcf(tid4), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid4) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
⊦ 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 ) ) ) ) ) )
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, (D16 = idle ⊃ idle ;(D16 = ready ⊃ ready ;(D16 = crashed ⊃ crashed ;( D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∧ ( mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success → mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null) ∨ D16 = E11 ∧ mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 ⊃ invEnq ;(D16 = E10 ∨ D16 = E11 ∨ D16 = E12 ∨ D16 = E4 ∨ D16 = E13 ∨ D16 = E17 ⊃ resEnq ;( D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∧ ¬ mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∧ ( mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID = None) ∨ D16 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID = None ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid4), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid4) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16
| ⊦ 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 ) ) ) ) ) ) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, (D16 = idle ⊃ idle ;(D16 = ready ⊃ ready ;(D16 = crashed ⊃ crashed ;( D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∧ ( mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success → mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null) ∨ D16 = E11 ∧ mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 ⊃ invEnq ;(D16 = E10 ∨ D16 = E11 ∨ D16 = E12 ∨ D16 = E4 ∨ D16 = E13 ∨ D16 = E17 ⊃ resEnq ;( D16 = D1 ∨ D16 = D2 ∨ D16 = D3 ∨ D16 = D4 ∨ D16 = D5 ∨ D16 = D6 ∧ ¬ mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = D7 ∨ D16 = D8 ∨ D16 = D9 ∨ D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14 ∨ D16 = D16 ∨ D16 = D17 ∨ D16 = D18 ∨ D16 = D19 ∨ D16 = D20 ∧ ( mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID = None) ∨ D16 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID = None ∨ D16 = D25 ∨ D16 = D26 ∨ D16 = D27 ∨ D16 = D28 ∨ D16 = D29 ∨ D16 = D30 ∨ D16 = D31 ∨ D16 = D32 ∨ D16 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid4), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid4) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid4) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used simplifier rules: ⊦ D14 ≠ D16; (s) ⊦ D13 ≠ D16; (s) ⊦ D12 ≠ D16; (s) ⊦ D11 ≠ D16; (s) ⊦ D10 ≠ D16; (s) ⊦ D9 ≠ D16; (s) ⊦ D8 ≠ D16; (s) ⊦ D7 ≠ D16; (s) ⊦ D6 ≠ D16; (s) ⊦ D5 ≠ D16; (s) ⊦ D4 ≠ D16; (s) ⊦ D3 ≠ D16; (s) ⊦ D2 ≠ D16; (s) ⊦ D1 ≠ D16; (s) ⊦ D16 ≠ E17; (s) ⊦ D16 ≠ E13; (s) ⊦ D16 ≠ E4; (s) ⊦ D16 ≠ E12; (s) ⊦ D16 ≠ E11; (s) ⊦ D16 ≠ E10; (s) ⊦ D16 ≠ E16; (s) ⊦ D16 ≠ E15; (s) ⊦ D16 ≠ E14; (s) ⊦ D16 ≠ E9; (s) ⊦ D16 ≠ E8; (s) ⊦ D16 ≠ E7; (s) ⊦ D16 ≠ E6; (s) ⊦ D16 ≠ E5; (s) ⊦ D16 ≠ E3; (s) ⊦ D16 ≠ E2; (s) ⊦ D16 ≠ E1; (s) ⊦ D16 ≠ crashed; (s) ⊦ D16 ≠ ready; (s) ⊦ D16 ≠ idle; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid4) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
⊦ 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)])
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1).tid = alsf(tid4).tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid4), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid4) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success → mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null) ∨ D16 = E11 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1).value = alsf(tid4).ival, (D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14) ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1).nxt = null → alsf(tid4).obsEmpty, D16 = D20 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID ≠ None ∨ D16 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID ≠ None ∨ D16 = D22 → alsf(tid4).oval = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .optval, D16 = D15 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D6 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = D34 → alsf(tid4).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1).tid) ], ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), D16, alsf(tid4)
| ⊦ 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)]) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1).tid = alsf(tid4).tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid4), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid4) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D16 = E1 ∨ D16 = E2 ∨ D16 = E3 ∨ D16 = E4 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = E5 ∨ D16 = E6 ∨ D16 = E7 ∨ D16 = E8 ∨ D16 = E9 ∨ D16 = E10 ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success → mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null) ∨ D16 = E11 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .lst ] .next = null ∨ D16 = E13 ∨ D16 = E14 ∨ D16 = E15 ∨ D16 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1).value = alsf(tid4).ival, (D16 = D10 ∨ D16 = D11 ∨ D16 = D12 ∨ D16 = D13 ∨ D16 = D14) ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1).nxt = null → alsf(tid4).obsEmpty, D16 = D20 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID ≠ None ∨ D16 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .nxt ] .deqID ≠ None ∨ D16 = D22 → alsf(tid4).oval = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .optval, D16 = D15 ∨ D16 = D23 ∨ D16 = D24 ∨ D16 = D6 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1) .success ∨ D16 = D34 → alsf(tid4).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1).tid) ], ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), tid4 = alsf(tid4).tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid4) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used simplifier rules: ⊦ D16 ≠ E16; (s) ⊦ D16 ≠ E15; (s) ⊦ D16 ≠ E14; (s) ⊦ D16 ≠ E13; (s) ⊦ D16 ≠ E11; (s) ⊦ D16 ≠ E10; (s) ⊦ D16 ≠ E9; (s) ⊦ D16 ≠ E8; (s) ⊦ D16 ≠ E7; (s) ⊦ D16 ≠ E6; (s) ⊦ D16 ≠ E5; (s) ⊦ D16 ≠ E4; (s) ⊦ D16 ≠ E3; (s) ⊦ D16 ≠ E2; (s) ⊦ D16 ≠ E1; (s) ⊦ D14 ≠ D16; (s) ⊦ D13 ≠ D16; (s) ⊦ D12 ≠ D16; (s) ⊦ D11 ≠ D16; (s) ⊦ D10 ≠ D16; (s) ⊦ D16 ≠ D22; (s) ⊦ D16 ≠ D21; (s) ⊦ D16 ≠ D20; (s) ⊦ D16 ≠ D34; (s) ⊦ D6 ≠ D16; (s) ⊦ D16 ≠ D24; (s) ⊦ D16 ≠ D23; (s) ⊦ D15 ≠ D16; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), tid4 = alsf(tid4).tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid4) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid4) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid4), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), tid4 = tid2, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid4) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(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(tid4), oval, tid2, optval1
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid4) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid4), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid4), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = D16, pretRefs0(tid4) = vretRefs0(tid4), rvowns0(vretRefs0(tid4)) = Pending(tid4), tid4 = tid2, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vretRefs0(tid4) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid4, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid4) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), tid0 = tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)) ⊦
Used formulas: tid0 = tid
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), tid0 = tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid) = mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval3 = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, 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 ∨ pcf(tid) = E11 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid) = E10 ∧ obsEmpty ∨ pcf(tid) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)) ≠ resEnq ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid) = mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval3 = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, 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 ∨ pcf(tid) = E11 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid) = E10 ∧ obsEmpty ∨ pcf(tid) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)) ≠ resEnq ⊦ |
⊦ 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 ) ) ) ) ) )
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)) = invEnq, alsf(tid) = mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid) = mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), 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 ∨ pcf(tid) = E11 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval3 = vrvHp0[vretRefs0(tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)) ∨ (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, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, 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, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, 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, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, 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, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, 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 ) ) ) ) ) ) ≠ resEnq, pcf(tid) = E10 ∧ obsEmpty ∨ pcf(tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, 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 ) ) ) ) ) ) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)) = invEnq, alsf(tid) = mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid) = mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), 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 ∨ pcf(tid) = E11 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval3 = vrvHp0[vretRefs0(tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)) ∨ (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, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, 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, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, 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, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, 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, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, 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 ) ) ) ) ) ) ≠ resEnq, pcf(tid) = E10 ∧ obsEmpty ∨ pcf(tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid) = mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval3 = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, 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 ∨ pcf(tid) = E11 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid) = E10 ∧ obsEmpty ∨ pcf(tid) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ 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 ∨ 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 ⊦
Used simplifier rules: ⊦ resDeq ≠ resEnq; (s) ⊦ invDeq ≠ resEnq; (s) ⊦ invEnq ≠ resEnq; (s) ⊦ crashed ≠ resEnq; (s) ⊦ ready ≠ resEnq; (s) ⊦ idle ≠ resEnq; (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) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid) = mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval3 = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, 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 ∨ pcf(tid) = E11 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid) = E10 ∧ obsEmpty ∨ pcf(tid) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ 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 ∨ 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 ⊦ |
⊦ 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)])
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)) = invEnq, alsf(tid) = mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid) = mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), 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 ∨ pcf(tid) = E11 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval3 = vrvHp0[vretRefs0(tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ¬ ( mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).tid = mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .tid ∧ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, 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, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).value = mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .ival) ∧ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt = null → mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .obsEmpty) ∧ ( pcf(tid) = D20 ∧ mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .oval = mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).optval) ∧ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∨ pcf(tid) = D34 → mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .oval = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vrvHp [mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vretRefs (mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).tid) ])) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ 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 ∨ 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) = E10 ∧ obsEmpty ∨ pcf(tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next] [vs0[(orl0 + qrl).last].next ] .val, optval3, 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)]) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)) = invEnq, alsf(tid) = mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid) = mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), 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 ∨ pcf(tid) = E11 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval3 = vrvHp0[vretRefs0(tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ¬ ( mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).tid = mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .tid ∧ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, 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, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).value = mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .ival) ∧ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt = null → mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .obsEmpty) ∧ ( pcf(tid) = D20 ∧ mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .oval = mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).optval) ∧ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∨ pcf(tid) = D34 → mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .oval = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vrvHp [mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vretRefs (mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).tid) ])) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ 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 ∨ 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) = E10 ∧ obsEmpty ∨ pcf(tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid) = mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval3 = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, 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 ∨ pcf(tid) = E11 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid) = E10 ∧ obsEmpty ∨ pcf(tid) = E11, ¬ ( pcf(tid) = D20 ∧ obsEmpty ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ 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 ∨ 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 ⊦
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) ⊦ 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).obsEmpty ↔ obsEmpty; (s) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (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, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid) = mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval3 = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, 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 ∨ pcf(tid) = E11 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid) = E10 ∧ obsEmpty ∨ pcf(tid) = E11, ¬ ( pcf(tid) = D20 ∧ obsEmpty ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ 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 ∨ 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 ⊦ |
Used simplifier rules: ⊦ D10 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ crashed; (s) ⊦ E1 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E10 ≠ E11; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E16; (s) ⊦ D10 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ E10 ≠ idle; (s) ⊦ E10 ≠ ready; (s) ⊦ E10 ≠ crashed; (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 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ apcf(tid) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ apcf(tid) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ apcf(tid), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: tid
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ apcf(tid), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ apcf(tid) ⊦
Used terms: tid
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ apcf(tid) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), alsf(tid)), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ apcf(tid), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), alsf(tid)), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)])
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = alsf(tid).tid, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), alsf(tid)), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, 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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ], orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), 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)]) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = alsf(tid).tid, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), alsf(tid)), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, 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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ], orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, alsf(tid).tid = tid, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), alsf(tid)), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ 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(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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) ⊦ 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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, alsf(tid).tid = tid, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), alsf(tid)), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ 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(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid3, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), tid3 = tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), alsf(tid)), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
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, tid3, optval7
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid3, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), tid3 = tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), alsf(tid)), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), mkls(tid, obsEmpty2, val4, optval7, val5, optval8)), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), mkls(tid, obsEmpty2, val4, optval7, val5, optval8)), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)])
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).tid = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .tid, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), mkls(tid, obsEmpty2, val4, optval7, val5, optval8)), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ ( mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success → mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst ] .next = null) ∨ pcf(tid0) = E11 ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst ] .next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).value = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .ival, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt = null → mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .obsEmpty, pcf(tid0) = D20 ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid0) = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid0) = D22 → mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .oval = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∨ pcf(tid0) = D34 → mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).tid) ], orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next] [vs0[(orl0 + qrl).last].next ] .val, optval3, 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)]) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).tid = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .tid, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), mkls(tid, obsEmpty2, val4, optval7, val5, optval8)), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ ( mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success → mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst ] .next = null) ∨ pcf(tid0) = E11 ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst ] .next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).value = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .ival, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt = null → mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .obsEmpty, pcf(tid0) = D20 ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid0) = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid0) = D22 → mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .oval = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∨ pcf(tid0) = D34 → mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).tid) ], orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), mkls(tid, obsEmpty2, val4, optval7, val5, optval8)), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), mkls(tid, obsEmpty2, val4, optval7, val5, optval8)), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)])
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, lsf(tid).tid ≠ mkls(tid, obsEmpty2, val4, optval7, val5, optval8).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[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).lst ] .next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = mkls(tid, obsEmpty2, val4, optval7, val5, optval8).ival) ∨ ¬ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → mkls(tid, obsEmpty2, val4, optval7, val5, optval8).obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid, obsEmpty2, val4, optval7, val5, optval8).oval = lsf(tid).optval) ∨ ¬ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → mkls(tid, obsEmpty2, val4, optval7, val5, optval8).oval = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vrvHp [mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vretRefs (lsf(tid).tid) ]) ⊦
Used terms: mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), mkls(tid, obsEmpty2, val4, optval7, val5, optval8)
| ⊦ 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)]) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, lsf(tid).tid ≠ mkls(tid, obsEmpty2, val4, optval7, val5, optval8).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[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).lst ] .next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = mkls(tid, obsEmpty2, val4, optval7, val5, optval8).ival) ∨ ¬ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → mkls(tid, obsEmpty2, val4, optval7, val5, optval8).obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid, obsEmpty2, val4, optval7, val5, optval8).oval = lsf(tid).optval) ∨ ¬ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → mkls(tid, obsEmpty2, val4, optval7, val5, optval8).oval = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vrvHp [mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vretRefs (lsf(tid).tid) ]) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, ¬ ( 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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ⊦
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) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (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).obsEmpty ↔ obsEmpty; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).ival = ival; (s) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, ¬ ( 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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22, pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22, pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], pcf(tid) ≠ D22, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ⊦ pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None, pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], pcf(tid) ≠ D22, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ⊦ pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None, pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], pcf(tid) ≠ D22, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D21, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], pcf(tid) ≠ D22, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], pcf(tid) ≠ D22, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None |
ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D14 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ 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 ≠ 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 ≠ E1; (s) ⊦ D20 ≠ D22; (s)
| ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D20, pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], D20 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D20 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D20 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D20 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D20 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D20 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D20 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D20 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D20 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D20 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D20 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D20 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D20 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ lsf(tid).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D20 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D20 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D20 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D20, pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], D20 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D20 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D20 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D20 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D20 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D20 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D20 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D20 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D20 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D20 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D20 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D20 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D20 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ lsf(tid).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D20 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D20 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D20 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D20, pcf(tid2) = D16, pretRefs0(tid) = vretRefs0(tid), pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid) ≠ null, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, lsf(tid).first ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
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 ≠ 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) ⊦ 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) .vhead = phead0; (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) .rvowns = rvowns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ y ≠ [] → (x + y).last = y.last; (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 ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (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) .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)
| vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D20, pcf(tid2) = D16, pretRefs0(tid) = vretRefs0(tid), pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid) ≠ null, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, lsf(tid).first ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), obsEmpty, owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pcf(tid0) = E10, pretRefs0(tid2) = vretRefs0(tid2), pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), rvowns0(vretRefs0(tid2)) = Pending(tid2), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid) ≠ null, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, lsf(tid).first, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), noowns(tid, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, vretRefs0(tid) ∈ vrvHp0, lsf(tid).first ∈ orl0, lsf(tid).first ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ vs0, lsf(tid).first ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl ⊦
ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pcf(tid0) = E11, pretRefs0(tid2) = vretRefs0(tid2), pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), rvowns0(vretRefs0(tid2)) = Pending(tid2), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid) ≠ null, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, lsf(tid).first, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), noowns(tid, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, vretRefs0(tid) ∈ vrvHp0, lsf(tid).first ∈ orl0, lsf(tid).first ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ vs0, lsf(tid).first ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl ⊦
| ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), obsEmpty, owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pcf(tid0) = E10, pretRefs0(tid2) = vretRefs0(tid2), pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), rvowns0(vretRefs0(tid2)) = Pending(tid2), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid) ≠ null, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, lsf(tid).first, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), noowns(tid, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, vretRefs0(tid) ∈ vrvHp0, lsf(tid).first ∈ orl0, lsf(tid).first ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ vs0, lsf(tid).first ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl ⊦ |
ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls (tid0, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pcf(tid0) = E10, pretRefs0(tid2) = vretRefs0(tid2), pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), rvowns0(vretRefs0(tid2)) = Pending(tid2), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, vretRefs0(tid) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, lsf(tid).first, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), noowns(tid, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, vretRefs0(tid) ∈ vrvHp0, lsf(tid).first ∈ orl0, lsf(tid).first ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ vs0, lsf(tid).first ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl ⊦
Used simplifier rules: ⊦ D14 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D15 ≠ E10; (s)
| ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls (tid0, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pcf(tid0) = E10, pretRefs0(tid2) = vretRefs0(tid2), pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), rvowns0(vretRefs0(tid2)) = Pending(tid2), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, vretRefs0(tid) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, lsf(tid).first, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), noowns(tid, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, vretRefs0(tid) ∈ vrvHp0, lsf(tid).first ∈ orl0, lsf(tid).first ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ vs0, lsf(tid).first ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, lsf(tid).nxt
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pcf(tid0) = E11, pretRefs0(tid2) = vretRefs0(tid2), pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), rvowns0(vretRefs0(tid2)) = Pending(tid2), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid) ≠ null, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, lsf(tid).first, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), noowns(tid, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, vretRefs0(tid) ∈ vrvHp0, lsf(tid).first ∈ orl0, lsf(tid).first ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ vs0, lsf(tid).first ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl ⊦ |
ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls (tid0, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pcf(tid0) = E11, pretRefs0(tid2) = vretRefs0(tid2), pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), rvowns0(vretRefs0(tid2)) = Pending(tid2), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, vretRefs0(tid) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, lsf(tid).first, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), noowns(tid, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, vretRefs0(tid) ∈ vrvHp0, lsf(tid).first ∈ orl0, lsf(tid).first ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ vs0, lsf(tid).first ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl ⊦
Used simplifier rules: ⊦ D14 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D15 ≠ E11; (s)
| ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls (tid0, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pcf(tid0) = E11, pretRefs0(tid2) = vretRefs0(tid2), pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), rvowns0(vretRefs0(tid2)) = Pending(tid2), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, vretRefs0(tid) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, lsf(tid).first, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), noowns(tid, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, vretRefs0(tid) ∈ vrvHp0, lsf(tid).first ∈ orl0, lsf(tid).first ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ vs0, lsf(tid).first ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, lsf(tid).nxt
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D21, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], pcf(tid) ≠ D22, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val4, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None |
ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D21, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D21 ≠ D34; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ 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) ⊦ D21 ≠ D22; (s)
| ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D21, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D21, pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], D21 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D21 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D21 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D21 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D21 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D21 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D21 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D21 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D21 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D21 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D21 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D21 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D21 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ lsf(tid).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D21 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D21 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D21 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D21, pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], D21 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D21 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D21 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D21 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D21 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D21 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D21 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D21 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D21 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D21 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D21 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D21 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D21 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ lsf(tid).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D21 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D21 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D21 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D21, pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid2)) = Pending(tid2), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid) ≠ null, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
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 ≠ 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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ y ≠ [] → (x + y).last = y.last; (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 = 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) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (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) .pretRefs = vretRefs0; (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) ⊦ 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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val4, optval7, val5, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D21, pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid2)) = Pending(tid2), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid) ≠ null, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, lsf(tid).nxt
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ apcf(tid), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl0 + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][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) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl0 + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) ) |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, ps[lsf(tid).lst].next = null, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = E10, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ (pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl0 + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) )
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, ps[lsf(tid).lst].next = null, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = E10, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = E10, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used simplifier rules: ⊦ E4 ≠ E10; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = E10, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
⊦ 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: ⊦ D1 ≠ E10; (s) ⊦ D2 ≠ E10; (s) ⊦ E10 ≠ E17; (s) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ idle; (s) ⊦ E10 ≠ ready; (s) ⊦ E1 ≠ E10; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D7 ≠ E10; (s) ⊦ D32 ≠ E10; (s) ⊦ D33 ≠ E10; (s) ⊦ E4 ≠ E10; (s) ⊦ E10 ≠ E16; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E12; (s) ⊦ E10 ≠ E11; (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) .vtail = phead1; (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) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (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) .ps = ps; (s) ⊦ E9 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D31 ≠ E10; (s) ⊦ D30 ≠ E10; (s) ⊦ D29 ≠ E10; (s) ⊦ D28 ≠ E10; (s) ⊦ D27 ≠ E10; (s) ⊦ D26 ≠ E10; (s) ⊦ D25 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D19 ≠ E10; (s) ⊦ D18 ≠ E10; (s) ⊦ D17 ≠ E10; (s) ⊦ D16 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D9 ≠ E10; (s) ⊦ D8 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D5 ≠ E10; (s) ⊦ D4 ≠ E10; (s) ⊦ D3 ≠ E10; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) fw-weak-oneweakowns: ⊦ oneweakowns(tid, r0, owns, vs, ps) ∧ owns(r) = Weak(tid) ∧ r ∈ ps ∧ r ∈ vs → r = r0; (forward) from specification DMSQ ⊦ Weak(tid) = Weak(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10
| ⊦ 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ (pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl0 + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, ps[lsf(tid).lst].next = null, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = E11, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) )
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, ps[lsf(tid).lst].next = null, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = E11, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = E11, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ E10 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = E11, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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: ⊦ D1 ≠ E11; (s) ⊦ D2 ≠ E11; (s) ⊦ E11 ≠ E17; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ ready; (s) ⊦ E1 ≠ E11; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D7 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E11 ≠ E16; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E12; (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) .vtail = phead1; (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) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (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) .ps = ps; (s) ⊦ E10 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D17 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D5 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D3 ≠ E11; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) fw-weak-oneweakowns: ⊦ oneweakowns(tid, r0, owns, vs, ps) ∧ owns(r) = Weak(tid) ∧ r ∈ ps ∧ r ∈ vs → r = r0; (forward) from specification DMSQ ⊦ Weak(tid) = Weak(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11
| ⊦ 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D21, pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], pcf(tid) ≠ D20, pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used simplifier rules: ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E4; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D20, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D20, pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D20 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D20 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D20 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D20 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D20 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D20 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D20 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D20 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D20 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D20 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D20 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D20 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D20 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ lsf(tid).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D20 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D20 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D20 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D20, pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D20 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D20 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D20 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D20 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D20 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D20 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D20 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D20 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D20 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D20 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D20 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D20 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D20 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ lsf(tid).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D20 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D20 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D20 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D20, pcf(tid2) = D16, pretRefs0(tid) = vretRefs0(tid), pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid) ≠ null, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, vhead1 ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), qrl ≠ [] ∧ vs0[qrl.head].deqID = Some(tid) → vhead1 = lsf(tid).first ∧ lsf(tid).success, vhead1 ≠ lsf(tid).first → nextnottid(tid, vhead1, vs0), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ps[lsf(tid).nxt].deqID = None → vhead1 = lsf(tid).first, lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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 ≠ 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) .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) .vs = ps0; (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) .vhead = phead0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ y ≠ [] → (x + y).last = y.last; (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 ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (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) .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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D20, pcf(tid2) = D16, pretRefs0(tid) = vretRefs0(tid), pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid) ≠ null, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, vhead1 ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), qrl ≠ [] ∧ vs0[qrl.head].deqID = Some(tid) → vhead1 = lsf(tid).first ∧ lsf(tid).success, vhead1 ≠ lsf(tid).first → nextnottid(tid, vhead1, vs0), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ps[lsf(tid).nxt].deqID = None → vhead1 = lsf(tid).first, lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, lsf(tid).nxt
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D21, pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], pcf(tid) ≠ D20, pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D21, pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used simplifier rules: ⊦ D20 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E4; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D21, pcf(tid2) = D16, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D21, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D21 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D21 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D21 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D21 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D21 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D21 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D21 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D21 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D21 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D21 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D21 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D21 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D21 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ lsf(tid).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D21 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D21 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D21 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D21, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Pending(tid2), orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid2) ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D21 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D21 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D21 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D21 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D21 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D21 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D21 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D21 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D21 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D21 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D21 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D21 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D21 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ lsf(tid).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D21 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D21 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D21 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D21, pretRefs0(tid2) = vretRefs0(tid2), pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid2)) = Pending(tid2), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid) ≠ null, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), qrl ≠ [] ∧ vs0[qrl.head].deqID = Some(tid) → vhead1 = lsf(tid).first, ps[lsf(tid).nxt].deqID = None → vhead1 = lsf(tid).first, vhead1 ≠ lsf(tid).first → nextnottid(tid, vhead1, vs0), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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 ≠ 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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ y ≠ [] → (x + y).last = y.last; (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 = 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) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (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) .pretRefs = vretRefs0; (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) ⊦ 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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invDeq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, vretRefs0(tid2), optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = D16, pcf(tid) = D21, pretRefs0(tid2) = vretRefs0(tid2), pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid2)) = Pending(tid2), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vretRefs0(tid) ≠ null, vretRefs0(tid2) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), noowns(tid2, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vretRefs0(tid2) ∈ vrvHp0, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), qrl ≠ [] ∧ vs0[qrl.head].deqID = Some(tid) → vhead1 = lsf(tid).first, ps[lsf(tid).nxt].deqID = None → vhead1 = lsf(tid).first, vhead1 ≠ lsf(tid).first → nextnottid(tid, vhead1, vs0), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, lsf(tid).nxt
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| content(qrl, ps) + val1 ' = content(qrl0, ps0), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)) = apcf(tid4), alsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), doEnq(owns(vhead4).tid)) = mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = E14, orl ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4), alsf(tid4)), 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), val1 ∈ content(qrl0, ps0), 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), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp[vretRefs(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls(owns(vhead4).tid, obsEmpty1, val1, optval3, val2, optval4);alsf(tid))) ∨ abspc(mkgs(ps0, vs0, phead4, vhead1, vhead6, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = E14, orl0 ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦
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 a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].val '; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ x + a ' = y + b ' ↔ x = y ∧ a = b; (ws) in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list[reflist] ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) = mkgs (ps1, ps2, phead2, phead3, phead4, vretRefs1, vretRefs2, vrvHp1, vrvHp2, qrl1, qrl2, owns0, rvowns0) ↔ ps = ps1 ∧ ps0 = ps2 ∧ phead = phead2 ∧ phead0 = phead3 ∧ phead1 = phead4 ∧ vretRefs = vretRefs1 ∧ vretRefs0 = vretRefs2 ∧ vrvHp = vrvHp1 ∧ vrvHp0 = vrvHp2 ∧ qrl = qrl1 ∧ qrl0 = qrl2 ∧ owns = owns0 ∧ rvowns = rvowns0; (ws) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns:= owns0 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns0, rvowns); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (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) .owns = owns; (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) .qrl:= qrl1 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl1, qrl0, owns, rvowns); (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) ⊦ gstepf(gs, ls, E14, a) = ( ( gs .ps:= gs.ps [ls.lst, gs.ps[ls.lst].next:= gs.vs[ls.lst].next ]) .qrl:= (ls.lst = (gs.orl + gs.qrl).last ⊃ gs.qrl + gs.vs[ls.lst].next ;gs.qrl )) .owns:= (ls.lst = (gs.orl + gs.qrl).last ⊃ gs.owns(gs.vs[ls.lst].next; None) ;gs.owns ); (s)
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14) = apcf(tid4), alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = E14, orl0 ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦ |
⊦ 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 ) ) ) ) ) )
(E14 = idle ⊃ idle ;(E14 = ready ⊃ ready ;(E14 = crashed ⊃ crashed ;( E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ E14 = E11 ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 ⊃ invEnq ;(E14 = E10 ∨ E14 = E11 ∨ E14 = E12 ∨ E14 = E4 ∨ E14 = E13 ∨ E14 = E17 ⊃ resEnq ;( E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None) ∨ E14 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid4), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4) = E14, orl0 ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14
| ⊦ 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 ) ) ) ) ) ) |
| (E14 = idle ⊃ idle ;(E14 = ready ⊃ ready ;(E14 = crashed ⊃ crashed ;( E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ E14 = E11 ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 ⊃ invEnq ;(E14 = E10 ∨ E14 = E11 ∨ E14 = E12 ∨ E14 = E4 ∨ E14 = E13 ∨ E14 = E17 ⊃ resEnq ;( E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None) ∨ E14 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid4), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4) = E14, orl0 ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦ |
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = E14, orl0 ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦
Used simplifier rules: ⊦ E13 ≠ E14; (s) ⊦ E11 ≠ E14; (s) ⊦ E10 ≠ E14; (s) ⊦ E9 ≠ E14; (s) ⊦ E8 ≠ E14; (s) ⊦ E7 ≠ E14; (s) ⊦ E6 ≠ E14; (s) ⊦ E5 ≠ E14; (s) ⊦ E4 ≠ E14; (s) ⊦ E3 ≠ E14; (s) ⊦ E2 ≠ E14; (s) ⊦ E1 ≠ E14; (s) ⊦ E14 ≠ crashed; (s) ⊦ E14 ≠ ready; (s) ⊦ E14 ≠ idle; (s)
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, apcf(owns(vhead4).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid4) = E14, orl0 ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ⊦ |
⊦ 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)))
abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4) = E14, orl0 ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), E14 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E14 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E14 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = D6 → ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ∨ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), E14 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E14 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, E14 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), E14 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), E14 = D12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next), E14 = D13 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, E14 = D14 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, E14 = D15 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty, E14 = D16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = D17 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = D18 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E14 = D19 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E14 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success) ∧ (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ), E14 = D21 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first), E14 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E14 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], E14 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], E14 = D25 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E14 = D26 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E14 = D27 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E14 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E14 = D29 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E14 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E14 = D31 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E14 = D34 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), E14 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), E14 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E14 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E14 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E14 = E10 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), E14 = E11 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), E14 = E12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null, E14 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E2 ∨ E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, E14 = E4 ∨ E14 = E10 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null), E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = D13 ∨ E14 = D14 ∨ E14 = D15 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E2 ∨ E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success, E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E14 = idle ∨ E14 = ready ∨ E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∨ E14 = E11 ∨ E14 = E12 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 ∨ E14 = E17 ∨ E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ∨ E14 = D34 → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E14 = crashed ∨ E14 = idle ∨ E14 = ready ∨ E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∨ E14 = E11 ∨ E14 = E12 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 ∨ E14 = E17 ∨ E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ∨ E14 = D34 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D18 ∨ E14 = D19 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E14 = D22 ∨ E14 = D23 ∨ E14 = D24 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E14 = crashed ∨ E14 = idle ∨ E14 = ready ∨ E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ∨ E14 = D34 ∨ E14 = E1 ∨ E14 = E12 ∨ E14 = E17 → noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), E14 = E2 ∨ E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), E14 = E10 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), E14 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), E14 = E4 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14
| ⊦ 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))) |
| abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)) = invEnq, abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vhead4).tid) = mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vhead4).tid) = invEnq, apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(vhead4).tid) = mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), pcf(tid4) = E14, orl0 ≠ [], tid4 ≠ tid, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(owns(vhead4).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vhead4).tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), alsf(owns(vs0[(orl0 + qrl).last].next).tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), pcf(owns(vhead4).tid) = E1 ∨ pcf(owns(vhead4).tid) = E2 ∨ pcf(owns(vhead4).tid) = E3 ∨ pcf(owns(vhead4).tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(owns(vhead4).tid) = E5 ∨ pcf(owns(vhead4).tid) = E6 ∨ pcf(owns(vhead4).tid) = E7 ∨ pcf(owns(vhead4).tid) = E8 ∨ pcf(owns(vhead4).tid) = E9 ∨ pcf(owns(vhead4).tid) = E10 ∧ (obsEmpty0 → phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null) ∨ pcf(owns(vhead4).tid) = E11 ∧ phead1 = (orl0 + qrl).last ∧ ps[(orl0 + qrl).last].next = null ∨ pcf(owns(vhead4).tid) = E13 ∨ pcf(owns(vhead4).tid) = E14 ∨ pcf(owns(vhead4).tid) = E15 ∨ pcf(owns(vhead4).tid) = E16 → val0 = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vhead4).tid) = D10 ∨ pcf(owns(vhead4).tid) = D11 ∨ pcf(owns(vhead4).tid) = D12 ∨ pcf(owns(vhead4).tid) = D13 ∨ pcf(owns(vhead4).tid) = D14) ∧ phead2 = null → obsEmpty1, pcf(owns(vhead4).tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(owns(vhead4).tid) = D22 → optval3 = optval1, pcf(owns(vhead4).tid) = D15 ∨ pcf(owns(vhead4).tid) = D23 ∨ pcf(owns(vhead4).tid) = D24 ∨ pcf(owns(vhead4).tid) = D6 ∧ obsEmpty0 ∨ pcf(owns(vhead4).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vhead4).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), E14 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E14 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E14 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = D6 → ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ∨ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), E14 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E14 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, E14 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), E14 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next) ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next), E14 = D12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next), E14 = D13 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, E14 = D14 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null, E14 = D15 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] = Empty, E14 = D16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = D17 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = D18 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E14 = D19 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E14 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success) ∧ (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ), E14 = D21 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first) ∧ noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first), E14 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E14 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], E14 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ], E14 = D25 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID .tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E14 = D26 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E14 = D27 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val)), E14 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E14 = D29 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E14 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).othertid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val), E14 = D31 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ] .next, E14 = D34 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Empty ⊃ Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ;Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ), E14 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), E14 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E14 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E14 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst), E14 = E10 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), E14 = E11 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] .val = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Weak(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∨ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node), E14 = E12 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null, E14 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ≠ null, E14 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E2 ∨ E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, E14 = E4 ∨ E14 = E10 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node) = Some(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mk(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).value, None, null), E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node ], E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = D13 ∨ E14 = D14 ∨ E14 = D15 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Pending(mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid), E14 = E2 ∨ E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → ¬ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success, E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst, E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) = mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).rvref ≠ null, E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid)) = Claimed (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval.val) ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 → mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).addr ≠ null ∧ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt ] .val), E14 = idle ∨ E14 = ready ∨ E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∨ E14 = E11 ∨ E14 = E12 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 ∨ E14 = E17 ∨ E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ∨ E14 = D34 → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first → nextnottid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E14 = crashed ∨ E14 = idle ∨ E14 = ready ∨ E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∨ E14 = E11 ∨ E14 = E12 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 ∨ E14 = E17 ∨ E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ∨ E14 = D34 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D18 ∨ E14 = D19 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E14 = D22 ∨ E14 = D23 ∨ E14 = D24 → noid (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E14 = crashed ∨ E14 = idle ∨ E14 = ready ∨ E14 = D1 ∨ E14 = D2 ∨ E14 = D3 ∨ E14 = D4 ∨ E14 = D5 ∨ E14 = D6 ∨ E14 = D7 ∨ E14 = D8 ∨ E14 = D9 ∨ E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14 ∨ E14 = D15 ∨ E14 = D16 ∨ E14 = D17 ∨ E14 = D18 ∨ E14 = D19 ∨ E14 = D20 ∨ E14 = D21 ∨ E14 = D22 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D25 ∨ E14 = D26 ∨ E14 = D27 ∨ E14 = D28 ∨ E14 = D29 ∨ E14 = D30 ∨ E14 = D31 ∨ E14 = D32 ∨ E14 = D33 ∨ E14 = D34 ∨ E14 = E1 ∨ E14 = E12 ∨ E14 = E17 → noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), E14 = E2 ∨ E14 = E3 ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), E14 = E10 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), E14 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).lst ] .next ⊃ oneweakowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), E14 = E4 → (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).success ⊃ noowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).tid, mkls(tid4, val3, optval5, vhead0, nd1, obsEmpty2, (orl0 + qrl).last, vhead4, rvref1, optval6, vhead5, tid5, addr1).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (owns(vhead4).tid = tid ⊃ mkls (owns(vhead4).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vhead4).tid = tid ⊃ resEnq;apcf(tid)) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vhead0) = Some(tid4), pcf(tid4) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), mkls (owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E1 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E2 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E3 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E4 ∧ ¬ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E5 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E6 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E7 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E8 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E9 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E14 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D12 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D14) ∧ vhead2 = null → obsEmpty1, pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D22 → optval3 = optval, pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D23 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D24 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D6 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vs0[(orl0 + qrl).last].next).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (owns(vs0[(orl0 + qrl).last].next).tid = tid ⊃ mkls (owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vs0[(orl0 + qrl).last].next).tid = tid ⊃ resEnq;apcf(tid)) ⊦
Used simplifier rules: ⊦ 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) listp-nextoflast: ⊦ listp(rl, vs, ps, owns) ∧ vs[rl.last].next ≠ null → vs[rl.last].next ∈ vs ∧ vs[rl.last].next ∈ ps ∧ ps[vs[rl.last].next] = vs[vs[rl.last].next] ∧ ps[vs[rl.last].next].deqID = None ∧ ps[vs[rl.last].next].next = null ∧ weak?(owns(vs[rl.last].next)); (forward) from specification DMSQ fw-some-oneowns: ⊦ oneowns(tid, r0, owns, vs, ps) ∧ owns(r) = Some(tid) ∧ r ∈ ps ∧ r ∈ vs → r = r0; (forward) from specification DMSQ ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) ⊦ D3 ≠ E14; (s) ⊦ D4 ≠ E14; (s) ⊦ D5 ≠ E14; (s) ⊦ D6 ≠ E14; (s) ⊦ D8 ≠ E14; (s) ⊦ D9 ≠ E14; (s) ⊦ D10 ≠ E14; (s) ⊦ D11 ≠ E14; (s) ⊦ D12 ≠ E14; (s) ⊦ D13 ≠ E14; (s) ⊦ D14 ≠ E14; (s) ⊦ D15 ≠ E14; (s) ⊦ D16 ≠ E14; (s) ⊦ D17 ≠ E14; (s) ⊦ D18 ≠ E14; (s) ⊦ D19 ≠ E14; (s) ⊦ D20 ≠ E14; (s) ⊦ D21 ≠ E14; (s) ⊦ D22 ≠ E14; (s) ⊦ D23 ≠ E14; (s) ⊦ D24 ≠ E14; (s) ⊦ D25 ≠ E14; (s) ⊦ D26 ≠ E14; (s) ⊦ D27 ≠ E14; (s) ⊦ D28 ≠ E14; (s) ⊦ D29 ≠ E14; (s) ⊦ D30 ≠ E14; (s) ⊦ D31 ≠ E14; (s) ⊦ D34 ≠ E14; (s) ⊦ E2 ≠ E14; (s) ⊦ E3 ≠ E14; (s) ⊦ E5 ≠ E14; (s) ⊦ E6 ≠ E14; (s) ⊦ E7 ≠ E14; (s) ⊦ E8 ≠ E14; (s) ⊦ E9 ≠ E14; (s) ⊦ E10 ≠ E14; (s) ⊦ E11 ≠ E14; (s) ⊦ E12 ≠ E14; (s) ⊦ E13 ≠ E14; (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) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ x.last ∈ x ↔ x ≠ []; (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) ⊦ 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) .owns = owns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ E14 ≠ E15; (s) ⊦ E14 ≠ E16; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ E4 ≠ E14; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ D33 ≠ E14; (s) ⊦ D32 ≠ E14; (s) ⊦ D7 ≠ E14; (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) .vhead = phead0; (s) ⊦ E1 ≠ E14; (s) ⊦ E14 ≠ ready; (s) ⊦ E14 ≠ idle; (s) ⊦ E14 ≠ crashed; (s) ⊦ E14 ≠ E17; (s) ⊦ D2 ≠ E14; (s) ⊦ D1 ≠ E14; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)) = invEnq, alsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(owns(vs0[(orl0 + qrl).last].next).tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(owns(vs0[(orl0 + qrl).last].next).tid) = mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vhead0) = Some(tid4), pcf(tid4) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (owns(vs0[(orl0 + qrl).last].next).tid, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs0[(orl0 + qrl).last].next).tid), mkls (owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E1 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E2 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E3 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E4 ∧ ¬ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E5 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E6 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E7 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E8 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E9 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E14 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ( pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D10 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D11 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D12 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D13 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D14) ∧ vhead2 = null → obsEmpty1, pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D22 → optval3 = optval, pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D15 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D23 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D24 ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D6 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = D34 → optval3 = vrvHp0[vretRefs0(owns(vs0[(orl0 + qrl).last].next).tid)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs0[(orl0 + qrl).last].next).tid) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (owns(vs0[(orl0 + qrl).last].next).tid = tid ⊃ mkls (owns(vs0[(orl0 + qrl).last].next).tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (owns(vs0[(orl0 + qrl).last].next).tid = tid ⊃ resEnq;apcf(tid)) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used simplifier rules: ⊦ weak?(opttid) → (tid = opttid.tid ↔ opttid = Weak(tid)); (elim) Used terms: owns(vs0[(orl0 + qrl).last].next), tid0
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), weak?(owns(vs0[(orl0 + qrl).last].next)), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used simplifier rules: ⊦ weak?(Weak(tid)); (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)])
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).tid = alsf(tid4).tid, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ E14 = E11 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).value = alsf(tid4).ival, (E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14) ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).nxt = null → alsf(tid4).obsEmpty, E14 = D20 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E14 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E14 = D22 → alsf(tid4).oval = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).optval, E14 = D15 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D6 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = D34 → alsf(tid4).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)
| ⊦ 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)]) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).tid = alsf(tid4).tid, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )), ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ E14 = E11 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).value = alsf(tid4).ival, (E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14) ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).nxt = null → alsf(tid4).obsEmpty, E14 = D20 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E14 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E14 = D22 → alsf(tid4).oval = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).optval, E14 = D15 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D6 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = D34 → alsf(tid4).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(alsf(tid4).ival, None, null), vs0[vhead0] = mk(alsf(tid4).ival, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid4) = mkls(tid4, alsf(tid4).ival, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, tid4 = alsf(tid4).tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )), ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ E13 ≠ E14; (s) ⊦ E11 ≠ E14; (s) ⊦ E10 ≠ E14; (s) ⊦ E9 ≠ E14; (s) ⊦ E8 ≠ E14; (s) ⊦ E7 ≠ E14; (s) ⊦ E6 ≠ E14; (s) ⊦ E5 ≠ E14; (s) ⊦ E4 ≠ E14; (s) ⊦ E3 ≠ E14; (s) ⊦ E2 ≠ E14; (s) ⊦ E1 ≠ E14; (s) ⊦ D14 ≠ E14; (s) ⊦ D13 ≠ E14; (s) ⊦ D12 ≠ E14; (s) ⊦ D11 ≠ E14; (s) ⊦ D10 ≠ E14; (s) ⊦ D22 ≠ E14; (s) ⊦ D21 ≠ E14; (s) ⊦ D20 ≠ E14; (s) ⊦ D34 ≠ E14; (s) ⊦ D6 ≠ E14; (s) ⊦ D24 ≠ E14; (s) ⊦ D23 ≠ E14; (s) ⊦ D15 ≠ E14; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(alsf(tid4).ival, None, null), vs0[vhead0] = mk(alsf(tid4).ival, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid4) = mkls(tid4, alsf(tid4).ival, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, tid4 = alsf(tid4).tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )), ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid4) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, tid4 = tid2, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )), ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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(tid4), oval, tid2, optval1
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid4) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, tid4 = tid2, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )), ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )), ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )), ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
⊦ 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)])
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).tid = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )), ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ ( mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success → mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst ] .next = null) ∨ pcf(tid0) = E11 ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst ] .next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).value = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .ival, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt = null → mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .obsEmpty, pcf(tid0) = D20 ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid0) = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid0) = D22 → mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .oval = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∨ pcf(tid0) = D34 → mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).tid) ], ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next] [vs0[(orl0 + qrl).last].next ] .val, optval3, 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)]) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).tid = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )), ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ ( mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success → mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst ] .next = null) ∨ pcf(tid0) = E11 ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).lst ] .next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).value = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .ival, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt = null → mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .obsEmpty, pcf(tid0) = D20 ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid0) = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid0) = D22 → mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .oval = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).success ∨ pcf(tid0) = D34 → mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) .oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr).tid) ], ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )), ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
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) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ absls (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) )), ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
⊦ 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)])
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), lsf(tid).tid ≠ (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;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[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).lst ] .next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .ival) ∨ ¬ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .oval = lsf(tid).optval) ∨ ¬ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .oval = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vrvHp [mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vretRefs (lsf(tid).tid) ]) ⊦
Used terms: mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid), (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps [(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next ] [vs0[(orl0 + qrl).last].next ] .val, optval3, val2, optval4) ;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)]) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), lsf(tid).tid ≠ (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;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[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).lst ] .next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vtail ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .ival) ∨ ¬ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .oval = lsf(tid).optval) ∨ ¬ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .oval = mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vrvHp [mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0) .vretRefs (lsf(tid).tid) ]) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, lsf(tid).tid ≠ (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .ival) ∨ ¬ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .oval = lsf(tid).optval) ∨ ¬ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .oval = vrvHp0[vretRefs0(lsf(tid).tid)]) ⊦
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) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, lsf(tid).tid ≠ (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .ival) ∨ ¬ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .oval = lsf(tid).optval) ∨ ¬ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) .oval = vrvHp0[vretRefs0(lsf(tid).tid)]) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), lsf(tid).tid ≠ tid3 ∨ ¬ ( 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 ∨ 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 → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)]), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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, (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps [(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next ] [vs0[(orl0 + qrl).last].next ] .val, optval3, val2, optval4) ;alsf(tid) ), oval, tid3, optval7
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, (tid0 = tid ⊃ mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) ;alsf(tid) ) = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), lsf(tid).tid ≠ tid3 ∨ ¬ ( 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 ∨ 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 → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)]), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, tid0 = tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, lsf(tid).tid ≠ tid3 ∨ ¬ ( 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 ∨ 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 → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)]) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, lsf(tid).tid ≠ tid3 ∨ ¬ ( 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 ∨ 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 → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)]) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), mkls (tid, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4) = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, tid0 = tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, lsf(tid).tid ≠ tid3 ∨ ¬ ( 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 ∨ 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 → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)]) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid3)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid3) = mkls (tid3, obsEmpty2, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval7, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid3) = mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid3), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid3, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid3)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval7 = vrvHp0[vretRefs0(tid3)], pcf(tid3) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval7 = optval, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ vhead2 = null → obsEmpty2, 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 ∨ pcf(tid3) = E11 ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid3) = E10 ∧ obsEmpty ∨ pcf(tid3) = E11, ¬ ( 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 ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val) ∨ ¬ ( pcf(tid3) = D20 ∧ obsEmpty ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval7 = optval) ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (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) .nxt = node1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ 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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid3)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid3) = mkls (tid3, obsEmpty2, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval7, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid3) = mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid3), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid3, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid3)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval7 = vrvHp0[vretRefs0(tid3)], pcf(tid3) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval7 = optval, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ vhead2 = null → obsEmpty2, 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 ∨ pcf(tid3) = E11 ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid3) = E10 ∧ obsEmpty ∨ pcf(tid3) = E11, ¬ ( 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 ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val) ∨ ¬ ( pcf(tid3) = D20 ∧ obsEmpty ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval7 = optval) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid3)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty2, ps[vs0[(orl0 + qrl).last].next].val, optval7, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid3) = mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid3), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid3, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid3)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, 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 ∨ pcf(tid3) = E11 ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = ps[vs0[(orl0 + qrl).last].next].val, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ vhead2 = null → obsEmpty2, pcf(tid3) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval7 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval7 = vrvHp0[vretRefs0(tid3)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ¬ ( 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 ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = ps[vs0[(orl0 + qrl).last].next].val) ∨ ¬ ( pcf(tid3) = D20 ∧ obsEmpty ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval7 = optval), pcf(tid3) = E10 ∧ obsEmpty ∨ pcf(tid3) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, vs0[(orl0 + qrl).last].next
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid3)) = invEnq, alsf(tid3) = mkls(tid3, obsEmpty2, ps[vs0[(orl0 + qrl).last].next].val, optval7, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid3) = mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid3), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid3, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid3)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, 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 ∨ pcf(tid3) = E11 ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = ps[vs0[(orl0 + qrl).last].next].val, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ vhead2 = null → obsEmpty2, pcf(tid3) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval7 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval7 = vrvHp0[vretRefs0(tid3)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ¬ ( 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 ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = ps[vs0[(orl0 + qrl).last].next].val) ∨ ¬ ( pcf(tid3) = D20 ∧ obsEmpty ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval7 = optval), pcf(tid3) = E10 ∧ obsEmpty ∨ pcf(tid3) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid3)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid3) = mkls(tid3, obsEmpty2, vs0[vs0[(orl0 + qrl).last].next].val, optval7, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid3) = mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid3), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid3, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid3)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval7 = vrvHp0[vretRefs0(tid3)], pcf(tid3) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval7 = optval, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ vhead2 = null → obsEmpty2, 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 ∨ pcf(tid3) = E11 ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = vs0[vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid3) = E10 ∧ obsEmpty ∨ pcf(tid3) = E11, ¬ ( 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 ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = vs0[vs0[(orl0 + qrl).last].next].val) ∨ ¬ ( pcf(tid3) = D20 ∧ obsEmpty ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval7 = optval) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid3)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid3) = mkls(tid3, obsEmpty2, vs0[vs0[(orl0 + qrl).last].next].val, optval7, val2, optval4), apcf(tid3) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid3) = mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid3), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid2 ≠ tid3, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid3, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid3)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval7 = vrvHp0[vretRefs0(tid3)], pcf(tid3) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval7 = optval, (pcf(tid3) = D10 ∨ pcf(tid3) = D11 ∨ pcf(tid3) = D12 ∨ pcf(tid3) = D13 ∨ pcf(tid3) = D14) ∧ vhead2 = null → obsEmpty2, 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 ∨ pcf(tid3) = E11 ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = vs0[vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid3) = E10 ∧ obsEmpty ∨ pcf(tid3) = E11, ¬ ( 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 ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = vs0[vs0[(orl0 + qrl).last].next].val) ∨ ¬ ( pcf(tid3) = D20 ∧ obsEmpty ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid3) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid3) = D22 → optval7 = optval) ⊦ |
Used simplifier rules: ⊦ D22 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, lsf(tid).tid ≠ tid3 ∨ ¬ ( 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 ∨ 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 → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)]) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), lsf(tid).tid ≠ tid3 ∨ ¬ ( 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 ∨ 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 → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)]), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: tid
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), lsf(tid).tid ≠ tid3 ∨ ¬ ( 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 ∨ 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 → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)]), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), mkls(tid3, obsEmpty2, val3, optval7, val4, optval8)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, lsf(tid).tid ≠ tid3 ∨ ¬ ( 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 ∨ 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 → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)]) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), mkls(tid3, obsEmpty2, val3, optval7, val4, optval8)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, lsf(tid).tid ≠ tid3 ∨ ¬ ( 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 ∨ 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 → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).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)])
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8).tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), 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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → mkls(tid3, obsEmpty2, val3, optval7, val4, optval8).obsEmpty, pcf(tid) = D20 ∧ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid3, obsEmpty2, val3, optval7, val4, optval8).oval = lsf(tid).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → mkls(tid3, obsEmpty2, val3, optval7, val4, optval8).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ], ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), lsf(tid).tid ≠ tid3 ∨ ¬ ( 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 ∨ 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 → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)]), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), mkls(tid3, obsEmpty2, val3, optval7, val4, optval8)
| ⊦ 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)]) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8).tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), 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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = mkls(tid3, obsEmpty2, val3, optval7, val4, optval8).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → mkls(tid3, obsEmpty2, val3, optval7, val4, optval8).obsEmpty, pcf(tid) = D20 ∧ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid3, obsEmpty2, val3, optval7, val4, optval8).oval = lsf(tid).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → mkls(tid3, obsEmpty2, val3, optval7, val4, optval8).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ], ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), lsf(tid).tid ≠ tid3 ∨ ¬ ( 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 ∨ 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 → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)]), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid) = mkls(lsf(tid).tid, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[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 → obsEmpty2, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)], pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).ival = ival; (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, obsEmpty, ival, oval, ival0, oval0).obsEmpty ↔ obsEmpty; (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) ⊦ 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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid) = mkls(lsf(tid).tid, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[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 → obsEmpty2, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)], pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(lsf(tid).tid, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)], pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3, ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, ¬ ( 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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ⊦
Used terms: tid
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(lsf(tid).tid, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(lsf(tid).tid)], pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3, ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, ¬ ( 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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[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 → obsEmpty2, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[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 → obsEmpty2, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3, ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval7 = lsf(tid).optval, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3, ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], pcf(tid) ≠ D22, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[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 → obsEmpty2, ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ⊦ pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None, pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], pcf(tid) ≠ D22, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[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 → obsEmpty2, ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None ⊦ pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None, pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, pcf(tid) = D20, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], pcf(tid) ≠ D22, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, pcf(tid) = D21, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], pcf(tid) ≠ D22, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, pcf(tid) = D20, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], pcf(tid) ≠ D22, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None |
ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, pcf(tid) = D20, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used simplifier rules: ⊦ D14 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ 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 ≠ 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 ≠ E1; (s) ⊦ D20 ≠ D22; (s)
| ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, pcf(tid) = D20, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D20, pcf(tid2) = E14, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D20 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D20 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D20 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D20 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D20 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D20 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D20 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D20 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D20 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D20 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D20 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D20 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D20 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ lsf(tid).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D20 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D20 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D20 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D20, pcf(tid2) = E14, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D20 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D20 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D20 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D20 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D20 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D20 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D20 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D20 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D20 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D20 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D20 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D20 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D20 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ lsf(tid).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D20 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D20 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D20 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D20, pcf(tid2) = E14, pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, vretRefs0(tid) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, lsf(tid).first ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), ∀ tid0. absls (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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 ≠ 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) ⊦ 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) .vhead = phead0; (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) .rvowns = rvowns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ y ≠ [] → (x + y).last = y.last; (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 ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (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) .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)
| vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D20, pcf(tid2) = E14, pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, vretRefs0(tid) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, lsf(tid).first ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), ∀ tid0. absls (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, lsf(tid).nxt
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, pcf(tid) = D21, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], pcf(tid) ≠ D22, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2, 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 = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval7 = vrvHp0[vretRefs0(tid)], ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None |
ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, pcf(tid) = D21, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
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 ≠ 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)
| ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, pcf(tid) = D21, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D21, pcf(tid2) = E14, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D21 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D21 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D21 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D21 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D21 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D21 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D21 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D21 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D21 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D21 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D21 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D21 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D21 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ lsf(tid).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D21 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D21 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D21 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D21, pcf(tid2) = E14, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, vs0[(orl0 + qrl).last].next ≠ null, optval7 ≠ lsf(tid).optval, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D21 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D21 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D21 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D21 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D21 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D21 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D21 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D21 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D21 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D21 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D21 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D21 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D21 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ lsf(tid).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D21 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D21 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D21 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D21, pcf(tid2) = E14, pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, vretRefs0(tid) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), ∀ tid0. absls (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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 ≠ 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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ y ≠ [] → (x + y).last = y.last; (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 = 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) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (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) .pretRefs = vretRefs0; (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) ⊦ 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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, ps[lsf(tid).nxt].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid) = mkls(tid, obsEmpty2, val3, optval7, val4, optval8), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D21, pcf(tid2) = E14, pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID ≠ None, lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, optval7 ≠ Val(vs0[lsf(tid).nxt].val), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, vretRefs0(tid) ≠ null, lsf(tid).success, DMSQLInv (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, lsf(tid).first, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), noid(tid2, orl0 + qrl, lsf(tid).first, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[lsf(tid).first].next ≠ null ∧ vs0[vs0[lsf(tid).first].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[lsf(tid).first].next].deqID.tid)) = Claimed(vs0[vs0[lsf(tid).first].next].deqID.tid, vs0[vs0[lsf(tid).first].next].val), ∀ tid0. absls (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc (mkgs(ps, vs0, phead4, lsf(tid).first, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = lsf(tid).first ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = lsf(tid).first ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, lsf(tid).nxt
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val3, None, null), ps[vhead0] = mk(val3, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)])
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).tid = alsf(tid4).tid, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ E14 = E11 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).value = alsf(tid4).ival, (E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14) ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).nxt = null → alsf(tid4).obsEmpty, E14 = D20 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E14 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E14 = D22 → alsf(tid4).oval = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).optval, E14 = D15 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D6 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = D34 → alsf(tid4).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), E14, alsf(tid4)
| ⊦ 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)]) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).tid = alsf(tid4).tid, ps[vhead0] = mk(val3, None, null), vs0[vhead0] = mk(val3, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid4) = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, E14 = E1 ∨ E14 = E2 ∨ E14 = E3 ∨ E14 = E4 ∧ ¬ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = E5 ∨ E14 = E6 ∨ E14 = E7 ∨ E14 = E8 ∨ E14 = E9 ∨ E14 = E10 ∧ ( mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success → mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null) ∨ E14 = E11 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).lst ] .next = null ∨ E14 = E13 ∨ E14 = E14 ∨ E14 = E15 ∨ E14 = E16 → mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).value = alsf(tid4).ival, (E14 = D10 ∨ E14 = D11 ∨ E14 = D12 ∨ E14 = D13 ∨ E14 = D14) ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).nxt = null → alsf(tid4).obsEmpty, E14 = D20 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E14 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).nxt ] .deqID ≠ None ∨ E14 = D22 → alsf(tid4).oval = mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).optval, E14 = D15 ∨ E14 = D23 ∨ E14 = D24 ∨ E14 = D6 ∧ mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).success ∨ E14 = D34 → alsf(tid4).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls(tid4, val3, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(alsf(tid4).ival, None, null), vs0[vhead0] = mk(alsf(tid4).ival, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid4) = mkls(tid4, alsf(tid4).ival, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, tid4 = alsf(tid4).tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ E13 ≠ E14; (s) ⊦ E11 ≠ E14; (s) ⊦ E10 ≠ E14; (s) ⊦ E9 ≠ E14; (s) ⊦ E8 ≠ E14; (s) ⊦ E7 ≠ E14; (s) ⊦ E6 ≠ E14; (s) ⊦ E5 ≠ E14; (s) ⊦ E4 ≠ E14; (s) ⊦ E3 ≠ E14; (s) ⊦ E2 ≠ E14; (s) ⊦ E1 ≠ E14; (s) ⊦ D14 ≠ E14; (s) ⊦ D13 ≠ E14; (s) ⊦ D12 ≠ E14; (s) ⊦ D11 ≠ E14; (s) ⊦ D10 ≠ E14; (s) ⊦ D22 ≠ E14; (s) ⊦ D21 ≠ E14; (s) ⊦ D20 ≠ E14; (s) ⊦ D34 ≠ E14; (s) ⊦ D6 ≠ E14; (s) ⊦ D24 ≠ E14; (s) ⊦ D23 ≠ E14; (s) ⊦ D15 ≠ E14; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(alsf(tid4).ival, None, null), vs0[vhead0] = mk(alsf(tid4).ival, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid4) = mkls(tid4, alsf(tid4).ival, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid4), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid4) = E14, tid4 = alsf(tid4).tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid4) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, tid4 = tid2, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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(tid4), oval, tid2, optval1
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid4) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid4), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid4) = mkls(tid4, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid4), pcf(tid4) = E14, tid4 = tid2, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid4 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid4, vhead1, vs0), noid(tid4, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid4, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls (tid0, obsEmpty1, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, ps[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty1, ps[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, vs0[(orl0 + qrl).last].next
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, ps[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty1, ps[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = ps[vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = vs0[vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = vs0[vs0[(orl0 + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = vs0[vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: tid
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = vs0[vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ∀ tid. absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = vs0[vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦
Used terms: tid
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = vs0[vs0[(orl0 + qrl).last].next].val, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0), pcf(tid0) = E10 ∧ obsEmpty ∨ pcf(tid0) = E11 ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), obsEmpty, owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = vs0[vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = vs0[vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), obsEmpty, owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = vs0[vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D34 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D10 ≠ E10; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)])
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).tid, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E10 = E11 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).ival, (E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null → mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).obsEmpty, E10 = D20 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E10 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E10 = D22 → mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).oval = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval, E10 = D15 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D6 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = D34 → mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ], orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, mkls (tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, 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)]) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).tid, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E10 = E11 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).ival, (E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null → mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).obsEmpty, E10 = D20 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E10 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E10 = D22 → mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).oval = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval, E10 = D15 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D6 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = D34 → mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ], orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) ⊦ E9 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E4 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E1 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D15 ≠ E10; (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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), E10 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = D6 → ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ∨ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E10 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E10 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E10 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E10 = D12 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next), E10 = D13 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E10 = D14 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E10 = D15 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty, E10 = D16 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = D17 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = D18 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D19 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = D20 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success) ∧ (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ), E10 = D21 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first), E10 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E10 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E10 = D25 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D26 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid)) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D27 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D28 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D29 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D30 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D31 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D34 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ⊃ Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E10 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), E10 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E10 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E10 = E11 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E10 = E12 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null, E10 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, E10 = E4 ∨ E10 = E10 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null), E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = D13 ∨ E10 = D14 ∨ E10 = D15 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success, E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → nextnottid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → nextnottid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 → noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 ∨ E10 = E1 ∨ E10 = E12 ∨ E10 = E17 → noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → oneowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), E10 = E10 → (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), E10 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), E10 = E4 → (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10
| ⊦ 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), E10 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = D6 → ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ∨ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E10 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E10 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E10 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E10 = D12 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next), E10 = D13 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E10 = D14 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E10 = D15 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty, E10 = D16 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = D17 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = D18 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D19 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = D20 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success) ∧ (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ), E10 = D21 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first), E10 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E10 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E10 = D25 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D26 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid)) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D27 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D28 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D29 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D30 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D31 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D34 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ⊃ Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E10 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), E10 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E10 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E10 = E11 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E10 = E12 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null, E10 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, E10 = E4 ∨ E10 = E10 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null), E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = D13 ∨ E10 = D14 ∨ E10 = D15 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success, E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → nextnottid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → nextnottid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 → noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 ∨ E10 = E1 ∨ E10 = E12 ∨ E10 = E17 → noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → oneowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), E10 = E10 → (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), E10 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), E10 = E4 → (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D3 ≠ E10; (s) ⊦ D4 ≠ E10; (s) ⊦ D5 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D8 ≠ E10; (s) ⊦ D9 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D16 ≠ E10; (s) ⊦ D17 ≠ E10; (s) ⊦ D18 ≠ E10; (s) ⊦ D19 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D25 ≠ E10; (s) ⊦ D26 ≠ E10; (s) ⊦ D27 ≠ E10; (s) ⊦ D28 ≠ E10; (s) ⊦ D29 ≠ E10; (s) ⊦ D30 ≠ E10; (s) ⊦ D31 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E9 ≠ E10; (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) .owns = owns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) .value = value; (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) .success ↔ success; (s) ⊦ E10 ≠ E11; (s) ⊦ E10 ≠ E12; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s) ⊦ E4 ≠ E10; (s) ⊦ D33 ≠ E10; (s) ⊦ D32 ≠ E10; (s) ⊦ D7 ≠ E10; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ E1 ≠ E10; (s) ⊦ E10 ≠ ready; (s) ⊦ E10 ≠ idle; (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) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ E17; (s) ⊦ D2 ≠ E10; (s) ⊦ D1 ≠ E10; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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 ) ) ) ) ) )
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, (E10 = idle ⊃ idle ;(E10 = ready ⊃ ready ;(E10 = crashed ⊃ crashed ;( E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E10 = E11 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ⊃ invEnq ;(E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E4 ∨ E10 = E13 ∨ E10 = E17 ⊃ resEnq ;( E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E10 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = invEnq, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10
| ⊦ 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 ) ) ) ) ) ) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, (E10 = idle ⊃ idle ;(E10 = ready ⊃ ready ;(E10 = crashed ⊃ crashed ;( E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E10 = E11 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ⊃ invEnq ;(E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E4 ∨ E10 = E13 ∨ E10 = E17 ⊃ resEnq ;( E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E10 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = invEnq, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) ⊦ E9 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E4 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E1 ≠ E10; (s) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ ready; (s) ⊦ E10 ≠ idle; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, tid0 = tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ apcf(tid), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, tid0 = tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid) = mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid) = mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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 ) ) ) ) ) )
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, (E10 = idle ⊃ idle ;(E10 = ready ⊃ ready ;(E10 = crashed ⊃ crashed ;( E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∧ ¬ mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∧ ( mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E10 = E11 ∧ mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ⊃ invEnq ;(E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E4 ∨ E10 = E13 ∨ E10 = E17 ⊃ resEnq ;( E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∧ ¬ mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∧ ( mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E10 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = invEnq, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), alsf(tid) = mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid) = mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10
| ⊦ 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 ) ) ) ) ) ) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, (E10 = idle ⊃ idle ;(E10 = ready ⊃ ready ;(E10 = crashed ⊃ crashed ;( E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∧ ¬ mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∧ ( mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E10 = E11 ∧ mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ⊃ invEnq ;(E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E4 ∨ E10 = E13 ∨ E10 = E17 ⊃ resEnq ;( E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∧ ¬ mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∧ ( mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E10 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = invEnq, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), alsf(tid) = mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid) = mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid) = mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) ⊦ E9 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E4 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E1 ≠ E10; (s) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ ready; (s) ⊦ E10 ≠ idle; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid) = mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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: ⊦ E10 ≠ idle; (s) ⊦ E10 ≠ ready; (s) ⊦ E10 ≠ crashed; (s) ⊦ E1 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E4 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E9 ≠ E10; (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) .vtail = phead1; (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) .lst = node0; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ E10 ≠ E11; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s) Used terms: mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10
| ⊦ 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 ) ) ) ) ) ) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ apcf(tid), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl0 + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][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) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl0 + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) ) |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, ps[lsf(tid).lst].next = null, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, pcf(tid) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, lsf(tid).success, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl0 + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) )
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, ps[lsf(tid).lst].next = null, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, pcf(tid) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, lsf(tid).success, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, pcf(tid) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, lsf(tid).success, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ E4 ≠ E10; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, pcf(tid) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, lsf(tid).success, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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: ⊦ D1 ≠ E10; (s) ⊦ D2 ≠ E10; (s) ⊦ E10 ≠ E17; (s) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ idle; (s) ⊦ E10 ≠ ready; (s) ⊦ E1 ≠ E10; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D7 ≠ E10; (s) ⊦ D32 ≠ E10; (s) ⊦ D33 ≠ E10; (s) ⊦ E4 ≠ E10; (s) ⊦ E10 ≠ E16; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E12; (s) ⊦ E10 ≠ E11; (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) .vtail = phead1; (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) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (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) .ps = ps; (s) ⊦ E9 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D31 ≠ E10; (s) ⊦ D30 ≠ E10; (s) ⊦ D29 ≠ E10; (s) ⊦ D28 ≠ E10; (s) ⊦ D27 ≠ E10; (s) ⊦ D26 ≠ E10; (s) ⊦ D25 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D19 ≠ E10; (s) ⊦ D18 ≠ E10; (s) ⊦ D17 ≠ E10; (s) ⊦ D16 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D9 ≠ E10; (s) ⊦ D8 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D5 ≠ E10; (s) ⊦ D4 ≠ E10; (s) ⊦ D3 ≠ E10; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) ⊦ Weak(tid) = Weak(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10
| ⊦ 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl0 + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, ps[lsf(tid).lst].next = null, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, pcf(tid) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) )
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, ps[lsf(tid).lst].next = null, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, pcf(tid) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, pcf(tid) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ E10 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, pcf(tid) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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: ⊦ D1 ≠ E11; (s) ⊦ D2 ≠ E11; (s) ⊦ E11 ≠ E17; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ ready; (s) ⊦ E1 ≠ E11; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D7 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E11 ≠ E16; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E12; (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) .vtail = phead1; (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) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (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) .ps = ps; (s) ⊦ E10 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D17 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D5 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D3 ≠ E11; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) ⊦ Weak(tid) = Weak(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11
| ⊦ 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, pcf(tid) = D20, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D21, pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], pcf(tid) ≠ D20, pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, pcf(tid) = D20, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, pcf(tid) = D20, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E4; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E10, pcf(tid) = D20, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D20, pcf(tid0) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D20 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D20 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D20 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D20 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D20 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D20 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D20 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D20 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D20 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D20 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D20 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D20 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D20 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ lsf(tid).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D20 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D20 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D20 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D20, pcf(tid0) = E10, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D20 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D20 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D20 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D20 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D20 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D20 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D20 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D20 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D20 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D20 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D20 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D20 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D20 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ lsf(tid).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D20 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D20 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D20 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D20, pcf(tid0) = E10, pcf(tid2) = E14, pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, lsf(tid).nxt ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, vretRefs0(tid) ≠ null, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, vhead1 ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, qrl ≠ [] ∧ vs0[qrl.head].deqID = Some(tid) → vhead1 = lsf(tid).first ∧ lsf(tid).success, vhead1 ≠ lsf(tid).first → nextnottid(tid, vhead1, vs0), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ps[lsf(tid).nxt].deqID = None → vhead1 = lsf(tid).first, lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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 ≠ 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) .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) .vs = ps0; (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) .vhead = phead0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ y ≠ [] → (x + y).last = y.last; (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 ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (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) .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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D20, pcf(tid0) = E10, pcf(tid2) = E14, pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, lsf(tid).nxt ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, vretRefs0(tid) ≠ null, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, vhead1 ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, qrl ≠ [] ∧ vs0[qrl.head].deqID = Some(tid) → vhead1 = lsf(tid).first ∧ lsf(tid).success, vhead1 ≠ lsf(tid).first → nextnottid(tid, vhead1, vs0), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ps[lsf(tid).nxt].deqID = None → vhead1 = lsf(tid).first, lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, lsf(tid).nxt
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D21, pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], pcf(tid) ≠ D20, pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D21, pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D20 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E4; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D21, pcf(tid2) = E14, pcf(tid0) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, pcf(tid) = D21, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D21 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D21 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D21 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D21 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D21 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D21 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D21 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D21 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D21 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D21 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D21 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D21 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D21 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ lsf(tid).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D21 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D21 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D21 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, pcf(tid) = D21, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D21 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D21 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D21 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D21 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D21 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D21 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D21 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D21 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D21 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D21 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D21 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D21 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D21 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ lsf(tid).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D21 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D21 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D21 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, pcf(tid) = D21, pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, lsf(tid).nxt ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, vretRefs0(tid) ≠ null, lsf(tid).success, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, qrl ≠ [] ∧ vs0[qrl.head].deqID = Some(tid) → vhead1 = lsf(tid).first, ps[lsf(tid).nxt].deqID = None → vhead1 = lsf(tid).first, vhead1 ≠ lsf(tid).first → nextnottid(tid, vhead1, vs0), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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 ≠ 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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ y ≠ [] → (x + y).last = y.last; (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 = 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) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (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) .pretRefs = vretRefs0; (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) ⊦ 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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E10, pcf(tid2) = E14, pcf(tid) = D21, pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, lsf(tid).nxt ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, vretRefs0(tid) ≠ null, lsf(tid).success, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, qrl ≠ [] ∧ vs0[qrl.head].deqID = Some(tid) → vhead1 = lsf(tid).first, ps[lsf(tid).nxt].deqID = None → vhead1 = lsf(tid).first, vhead1 ≠ lsf(tid).first → nextnottid(tid, vhead1, vs0), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, lsf(tid).nxt
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0)), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls(tid0, val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∨ pcf(tid0) = E11 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = vs0[vs0[(orl0 + qrl).last].next].val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval3 = vrvHp0[vretRefs0(tid0)], vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D34 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D10 ≠ E11; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), E11 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D6 → ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ∨ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D12 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next), E11 = D13 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D14 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D15 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty, E11 = D16 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D17 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D18 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D19 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D20 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success) ∧ (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ), E11 = D21 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first), E11 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D25 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D26 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid)) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D27 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D28 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D29 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D30 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D31 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D34 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ⊃ Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), E11 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E10 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E11 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E12 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null, E11 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → nextnottid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), E11 = E10 → (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), E11 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), E11 = E4 → (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11
| ⊦ 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid2, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), E11 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D6 → ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ∨ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D12 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next), E11 = D13 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D14 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D15 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty, E11 = D16 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D17 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D18 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D19 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D20 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success) ∧ (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ), E11 = D21 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first), E11 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D25 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D26 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid)) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D27 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D28 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D29 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D30 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D31 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D34 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ⊃ Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), E11 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E10 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E11 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E12 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null, E11 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ≠ null ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → nextnottid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), E11 = E10 → (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), E11 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), E11 = E4 → (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ noowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, obsEmpty, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D3 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D5 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D17 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E10 ≠ E11; (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) .owns = owns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) .value = value; (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) .success ↔ success; (s) ⊦ E11 ≠ E12; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E16; (s) ⊦ E4 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D7 ≠ E11; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ E1 ≠ E11; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ idle; (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) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ E17; (s) ⊦ D2 ≠ E11; (s) ⊦ D1 ≠ E11; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)])
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).tid, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E11 = E11 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).ival, (E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null → mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).obsEmpty, E11 = D20 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E11 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E11 = D22 → mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).oval = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval, E11 = D15 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D6 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = D34 → mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ], orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls (tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, 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)]) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).tid, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E11 = E11 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).ival, (E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14) ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null → mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).obsEmpty, E11 = D20 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E11 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E11 = D22 → mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).oval = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval, E11 = D15 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D6 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = D34 → mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4).oval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ], orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) ⊦ E10 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E1 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D15 ≠ E11; (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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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 ) ) ) ) ) )
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, (E11 = idle ⊃ idle ;(E11 = ready ⊃ ready ;(E11 = crashed ⊃ crashed ;( E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E11 = E11 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ⊃ invEnq ;(E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E4 ∨ E11 = E13 ∨ E11 = E17 ⊃ resEnq ;( E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E11 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = invEnq, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11
| ⊦ 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 ) ) ) ) ) ) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, (E11 = idle ⊃ idle ;(E11 = ready ⊃ ready ;(E11 = crashed ⊃ crashed ;( E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E11 = E11 ∧ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ⊃ invEnq ;(E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E4 ∨ E11 = E13 ∨ E11 = E17 ⊃ resEnq ;( E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∧ ¬ mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∧ ( mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E11 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = invEnq, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) ⊦ E10 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E1 ≠ E11; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ idle; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ (tid0 = tid ⊃ resEnq;apcf(tid)), orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, tid0 = tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ apcf(tid), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, tid0 = tid, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, alsf(tid) = mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid) = mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, alsf(tid) = mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid) = mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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 ) ) ) ) ) )
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, (E11 = idle ⊃ idle ;(E11 = ready ⊃ ready ;(E11 = crashed ⊃ crashed ;( E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∧ ¬ mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∧ ( mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E11 = E11 ∧ mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ⊃ invEnq ;(E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E4 ∨ E11 = E13 ∨ E11 = E17 ⊃ resEnq ;( E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∧ ¬ mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∧ ( mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E11 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = invEnq, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid) = mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11
| ⊦ 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 ) ) ) ) ) ) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, (E11 = idle ⊃ idle ;(E11 = ready ⊃ ready ;(E11 = crashed ⊃ crashed ;( E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∧ ¬ mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∧ ( mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E11 = E11 ∧ mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ⊃ invEnq ;(E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E4 ∨ E11 = E13 ∨ E11 = E17 ⊃ resEnq ;( E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∧ ¬ mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∧ ( mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E11 = D21 ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps [mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = invEnq, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid) = mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), pcf(tid) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), alsf(tid) = mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid) = mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) ⊦ E10 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E1 ≠ E11; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ idle; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), alsf(tid) = mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid) = mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) ≠ resEnq, orl0 ≠ [], tid2 ≠ tid, vhead0 ≠ null, DMSQLInv (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, mkls(tid, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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: ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ crashed; (s) ⊦ E1 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E9 ≠ E11; (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) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E16; (s) ⊦ E10 ≠ E11; (s) Used terms: mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), mkls (tid, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11
| ⊦ 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 ) ) ) ) ) ) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ apcf(tid), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, abspc (mkgs (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next], vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl + vs0[(orl0 + qrl).last].next ', orl0, owns(vs0[(orl0 + qrl).last].next; None), rvowns0), lsf(tid), pcf(tid)) ≠ abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl0 + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][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) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl0 + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl0 + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) ) |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, ps[lsf(tid).lst].next = null, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, pcf(tid) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, lsf(tid).success, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl0 + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) )
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, ps[lsf(tid).lst].next = null, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, pcf(tid) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, lsf(tid).success, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, pcf(tid) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, lsf(tid).success, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ E4 ≠ E10; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, pcf(tid) = E10, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, lsf(tid).success, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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: ⊦ D1 ≠ E10; (s) ⊦ D2 ≠ E10; (s) ⊦ E10 ≠ E17; (s) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ idle; (s) ⊦ E10 ≠ ready; (s) ⊦ E1 ≠ E10; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D7 ≠ E10; (s) ⊦ D32 ≠ E10; (s) ⊦ D33 ≠ E10; (s) ⊦ E4 ≠ E10; (s) ⊦ E10 ≠ E16; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E12; (s) ⊦ E10 ≠ E11; (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) .vtail = phead1; (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) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (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) .ps = ps; (s) ⊦ E9 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D31 ≠ E10; (s) ⊦ D30 ≠ E10; (s) ⊦ D29 ≠ E10; (s) ⊦ D28 ≠ E10; (s) ⊦ D27 ≠ E10; (s) ⊦ D26 ≠ E10; (s) ⊦ D25 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D19 ≠ E10; (s) ⊦ D18 ≠ E10; (s) ⊦ D17 ≠ E10; (s) ⊦ D16 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D9 ≠ E10; (s) ⊦ D8 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D5 ≠ E10; (s) ⊦ D4 ≠ E10; (s) ⊦ D3 ≠ E10; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) ⊦ Weak(tid) = Weak(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E10
| ⊦ 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl0 + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, ps[lsf(tid).lst].next = null, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, pcf(tid) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) )
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, ps[lsf(tid).lst].next = null, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, pcf(tid) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, pcf(tid) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ E10 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, lsf(tid).lst = (orl0 + qrl).last, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, pcf(tid) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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: ⊦ D1 ≠ E11; (s) ⊦ D2 ≠ E11; (s) ⊦ E11 ≠ E17; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ ready; (s) ⊦ E1 ≠ E11; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D7 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E11 ≠ E16; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E12; (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) .vtail = phead1; (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) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (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) .ps = ps; (s) ⊦ E10 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D17 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D5 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D3 ≠ E11; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) ⊦ Weak(tid) = Weak(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), E11
| ⊦ 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, orl0 ≠ [], pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, pcf(tid) = D20, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D21, pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], pcf(tid) ≠ D20, pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, pcf(tid) = D20, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, pcf(tid) = D20, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E4; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid0) = E11, pcf(tid2) = E14, pcf(tid) = D20, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D20, pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D20 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D20 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D20 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D20 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D20 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D20 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D20 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D20 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D20 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D20 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D20 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D20 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D20 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ lsf(tid).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D20 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D20 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D20 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), 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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D20, pcf(tid2) = E14, pcf(tid0) = E11, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D20 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D20 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D20 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D20 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D20 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D20 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D20 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D20 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D20 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D20 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D20 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D20 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D20 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D20 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D20 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D20 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D20 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D20 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D20 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D20 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D20 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ lsf(tid).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D20 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D20 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D20 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D20, pcf(tid2) = E14, pcf(tid0) = E11, pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, vretRefs0(tid) ≠ null, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, vhead1 ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, qrl ≠ [] ∧ vs0[qrl.head].deqID = Some(tid) → vhead1 = lsf(tid).first ∧ lsf(tid).success, vhead1 ≠ lsf(tid).first → nextnottid(tid, vhead1, vs0), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ps[lsf(tid).nxt].deqID = None → vhead1 = lsf(tid).first, lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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 ≠ 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) .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) .vs = ps0; (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) .vhead = phead0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ y ≠ [] → (x + y).last = y.last; (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 ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (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) .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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid) = D20, pcf(tid2) = E14, pcf(tid0) = E11, pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, ¬ ( lsf(tid).success → ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, vretRefs0(tid) ≠ null, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D20, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, vhead1 ∈ orl0 from lsf(tid).first, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, qrl ≠ [] ∧ vs0[qrl.head].deqID = Some(tid) → vhead1 = lsf(tid).first ∧ lsf(tid).success, vhead1 ≠ lsf(tid).first → nextnottid(tid, vhead1, vs0), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ps[lsf(tid).nxt].deqID = None → vhead1 = lsf(tid).first, lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, lsf(tid).nxt
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D21, pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], pcf(tid) ≠ D20, pcf(tid) ≠ D6, pcf(tid) ≠ E11, pcf(tid) ≠ E10, pcf(tid) ≠ E4, tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid)), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D21, pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used simplifier rules: ⊦ D20 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E4; (s)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vhead0] = mk(val0, None, null), vs0[vhead0] = mk(val0, None, null), ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vhead0) = Some(tid2), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), pcf(tid) = D21, pcf(tid0) = E11, pcf(tid2) = E14, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, DMSQLInv(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21), absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, ps), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), nextnottid(tid2, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps), phead4 ∈ ps, phead4 ∈ vs0, phead4 ∈ orl0, vhead0 ∈ ps, vhead0 ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vs0[(orl0 + qrl).last].next ∈ vs0, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ 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)))
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, pcf(tid) = D21, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D21 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D21 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D21 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D21 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D21 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D21 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D21 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D21 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D21 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D21 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D21 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D21 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D21 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ lsf(tid).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D21 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D21 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D21 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
Used terms: mkgs (ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(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))) |
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, pcf(tid) = D21, orl0 + qrl ≠ [], vs0[(orl0 + qrl).last].next ≠ null, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl0), ¬ dups(orl0 + qrl), ¬ vhead0 ∈ qrl, ¬ vhead0 ∈ orl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), D21 = D3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).rvref) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D4 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp ∧ lsf(tid).rvref ≠ null, D21 = D5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D6 → ( lsf(tid).success → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref]) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ∨ ¬ lsf(tid).success ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = D8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).first, D21 = D9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst, D21 = D10 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D11 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).lst ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).first].next) ∧ ( lsf(tid).first ≠ lsf(tid).lst → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next), D21 = D12 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next), D21 = D13 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = null, D21 = D14 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ lsf(tid).nxt = null, D21 = D15 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] = Empty ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref] = Empty, D21 = D16 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D17 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = D18 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D19 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D20 → lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first ∧ lsf(tid).success) ∧ (lsf(tid).success ⊃ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ; mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid) ), D21 = D21 → lsf(tid).nxt ≠ null ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).tid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID = None → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first) ∧ noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ≠ [] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl.head ] .deqID = Some(lsf(tid).tid) → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first), D21 = D22 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D23 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref], D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp[lsf(tid).rvref] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp[lsf(tid).rvref], D21 = D25 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ⊕ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs )[lsf(tid).nxt ] .deqID .tid, lsf(tid).optval.val)), D21 = D26 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID ≠ None ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).othertid)) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D27 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead = lsf(tid).first → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val)), D21 = D28 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].deqID = Some(lsf(tid).othertid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D29 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D30 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns(lsf(tid).addr) = Claimed(lsf(tid).othertid, lsf(tid).optval.val), D21 = D31 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).nxt].deqID ≠ None ∧ lsf(tid).nxt ≠ null ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).first].next, D21 = D34 → lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ] ∧ lsf(tid).optval = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).prvHp [mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ] ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = (lsf(tid).optval = Empty ⊃ Pending(lsf(tid).tid);Claimed(lsf(tid).tid, lsf(tid).optval.val)), D21 = E2 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E3 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E5 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E6 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null → lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail), D21 = E7 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E8 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( lsf(tid).nxt ≠ null → lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next) ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E9 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).nxt = null ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = null → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail = lsf(tid).lst), D21 = E10 → lsf(tid).success → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E11 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node].val = lsf(tid).value ∧ ( lsf(tid).lst = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Weak(lsf(tid).tid) ∨ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node), D21 = E12 → lsf(tid).success ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next = lsf(tid).node ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next = lsf(tid).node ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null, D21 = E13 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E14 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E15 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ∧ lsf(tid).nxt = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ∧ lsf(tid).nxt ≠ null, D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ lsf(tid).node ≠ null ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ lsf(tid).success → ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ ¬ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl ∧ lsf(tid).node ≠ null ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps ∧ lsf(tid).node ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns(lsf(tid).node) = Some(lsf(tid).tid) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null) ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).node] = mk(lsf(tid).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).node] = mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Pending(lsf(tid).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ lsf(tid).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → lsf(tid).first ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl from lsf(tid).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → lsf(tid).first ≠ lsf(tid).lst ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vtail ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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 → lsf(tid).lst ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl from lsf(tid).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, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).pretRefs(lsf(tid).tid) = lsf(tid).rvref ∧ lsf(tid).rvref ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → lsf(tid).success ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid) ≠ null ∧ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).rvowns (mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vretRefs(lsf(tid).tid)) = Claimed(lsf(tid).tid, lsf(tid).optval.val) ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).nxt].val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → lsf(tid).addr ∈ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vrvHp ∧ lsf(tid).addr ≠ null ∧ lsf(tid).optval = Val(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead ≠ lsf(tid).first → nextnottid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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 (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vhead, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).first, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).orl + mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).qrl, lsf(tid).nxt, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).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(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps), D21 = E10 → (lsf(tid).success ⊃ ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), D21 = E11 → ( mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps[lsf(tid).lst].next ≠ mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs[lsf(tid).lst].next ⊃ oneweakowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ;noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ), D21 = E4 → (lsf(tid).success ⊃ noowns(lsf(tid).tid, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns) ;oneowns (lsf(tid).tid, lsf(tid).node, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).owns, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).vs, mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0).ps) ), orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, pcf(tid) = D21, pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, vretRefs0(tid) ≠ null, lsf(tid).success, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, qrl ≠ [] ∧ vs0[qrl.head].deqID = Some(tid) → vhead1 = lsf(tid).first, ps[lsf(tid).nxt].deqID = None → vhead1 = lsf(tid).first, vhead1 ≠ lsf(tid).first → nextnottid(tid, vhead1, vs0), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦
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 ≠ 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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ y ≠ [] → (x + y).last = y.last; (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 = 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) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (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) .pretRefs = vretRefs0; (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) ⊦ 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)
| vs0[vs0[(orl0 + qrl).last].next].deqID = None, vs0[lsf(tid).nxt].deqID = Some(tid), vs0[vs0[(orl0 + qrl).last].next].next = null, lsf(tid).nxt = ps[lsf(tid).first].next, lsf(tid).optval = Val(vs0[lsf(tid).nxt].val), lsf(tid).tid = tid, ps[vs0[(orl0 + qrl).last].next] = vs0[vs0[(orl0 + qrl).last].next], vs0[vhead0] = mk(val0, None, null), ps[vhead0] = mk(val0, None, null), abspc(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, vs0[vs0[(orl0 + qrl).last].next].val, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), apcf(tid0) = invEnq, content(qrl, ps) = content(qrl, ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next]), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid2), lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl).last].next].val, optval, vs0[(orl0 + qrl).last].next, nd, true, (orl0 + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval5, vhead0, nd1, false, (orl0 + qrl).last, vs0[(orl0 + qrl).last].next, rvref1, optval6, vhead5, tid5, addr1), owns(vs0[(orl0 + qrl).last].next) = Weak(tid0), owns(vhead0) = Some(tid2), pcf(tid2) = E14, pcf(tid0) = E11, pcf(tid) = D21, pretRefs0(tid) = vretRefs0(tid), rvowns0(vretRefs0(tid)) = Claimed(tid, vs0[lsf(tid).nxt].val), vretRefs0(tid) = lsf(tid).rvref, orl0 + qrl ≠ [], lsf(tid).first ≠ lsf(tid).lst, vs0[(orl0 + qrl).last].next ≠ (orl0 + qrl).last, vs0[(orl0 + qrl).last].next ≠ null, lsf(tid).nxt ≠ null, ¬(ps[(orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None), orl0 ≠ [], tid0 ≠ tid, tid2 ≠ tid, vhead0 ≠ null, vretRefs0(tid) ≠ null, lsf(tid).success, absls(mkgs(ps, vs0, phead4, vhead1, (orl0 + qrl).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl, orl0, owns, rvowns0), lsf(tid), D21, alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl, vs0, ps, owns), markedp(orl0, vs0), markedp(orl0, ps), nextnottid(tid2, vhead1, vs0), nextnottid(tid0, vhead1, vs0), noid(tid, orl0 + qrl, lsf(tid).nxt, vs0), noid(tid2, orl0 + qrl, vhead1, vs0), noid(tid0, orl0 + qrl, vhead1, vs0), nonullRetRefs(orl0 + qrl, vs0, vretRefs0, pretRefs0), noowns(tid, owns), oneowns(tid2, vhead0, owns, vs0, ps), oneweakowns(tid0, vs0[(orl0 + qrl).last].next, owns, vs0, ps), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, ps), lsf(tid).first ∈ ps, lsf(tid).first ∈ vs0, lsf(tid).first ∈ orl0, vretRefs0(tid) ∈ vrvHp0, vs0[(orl0 + qrl).last].next ∈ vs0, vs0[(orl0 + qrl).last].next ∈ ps, vhead0 ∈ vs0, vhead0 ∈ ps, phead4 ∈ orl0, phead4 ∈ vs0, phead4 ∈ ps, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ vhead0 ∈ orl0, ¬ vhead0 ∈ qrl, qrl ≠ [] ∧ vs0[qrl.head].deqID = Some(tid) → vhead1 = lsf(tid).first, ps[lsf(tid).nxt].deqID = None → vhead1 = lsf(tid).first, vhead1 ≠ lsf(tid).first → nextnottid(tid, vhead1, vs0), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), lsf(tid).lst ∈ orl0 from lsf(tid).first ∨ lsf(tid).lst ∈ qrl, lsf(tid).lst ∈ orl0 ∨ lsf(tid).lst ∈ qrl, orl0.last = vhead1 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead4 ≠ orl0.last ∧ unmarkedp(qrl, vs0) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl0 + qrl).last, ps[(orl0 + qrl).last].next:= vs0[(orl0 + qrl).last].next, lsf(tid).nxt
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf(tid0; ls), pcf(tid0; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), obsEmpty, pcf(owns(vs[(orl + qrl).last].next).tid) = E10, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), obsEmpty, pcf(owns(vs[(orl + qrl).last].next).tid) = E10, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid) = E10, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(orl + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid) = E10, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(orl + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
⊦ 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)))
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid) = E10, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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), E10 = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = D6 → ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ∨ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E10 = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E10 = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E10 = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E10 = D12 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next), E10 = D13 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E10 = D14 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E10 = D15 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty, E10 = D16 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = D17 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = D18 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D19 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = D20 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success) ∧ (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ), E10 = D21 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first), E10 = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E10 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E10 = D25 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D26 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D27 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D29 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D30 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D31 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D34 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ⊃ Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E10 = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), E10 = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E10 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E10 = E11 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E10 = E12 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null, E10 = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, E10 = E4 ∨ E10 = E10 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null), E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = D13 ∨ E10 = D14 ∨ E10 = D15 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success, E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → nextnottid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → nextnottid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 ∨ E10 = E1 ∨ E10 = E12 ∨ E10 = E17 → noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), E10 = E10 → (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), E10 = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), E10 = E4 → (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10
| ⊦ 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))) |
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid) = E10, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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), E10 = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = D6 → ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ∨ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E10 = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E10 = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E10 = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E10 = D12 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next), E10 = D13 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E10 = D14 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E10 = D15 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty, E10 = D16 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = D17 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = D18 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D19 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = D20 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success) ∧ (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ), E10 = D21 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first), E10 = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E10 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E10 = D25 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D26 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D27 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D29 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D30 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D31 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D34 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ⊃ Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E10 = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), E10 = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E10 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E10 = E11 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E10 = E12 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null, E10 = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, E10 = E4 ∨ E10 = E10 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null), E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = D13 ∨ E10 = D14 ∨ E10 = D15 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success, E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → nextnottid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → nextnottid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 ∨ E10 = E1 ∨ E10 = E12 ∨ E10 = E17 → noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), E10 = E10 → (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), E10 = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), E10 = E4 → (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(owns(vs[(orl + qrl).last].next).tid), pcf(owns(vs[(orl + qrl).last].next).tid) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, ls, pc), markedp(orl, ps), markedp(orl, vs), nextnottid(owns(vs[(orl + qrl).last].next).tid, vhead, vs), noid(owns(vs[(orl + qrl).last].next).tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(owns(vs[(orl + qrl).last].next).tid, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs[(orl + qrl).last].next)), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: fw-weak-oneweakowns: ⊦ oneweakowns(tid, r0, owns, vs, ps) ∧ owns(r) = Weak(tid) ∧ r ∈ ps ∧ r ∈ vs → r = r0; (forward) from specification DMSQ listp-nextoflast: ⊦ listp(rl, vs, ps, owns) ∧ vs[rl.last].next ≠ null → vs[rl.last].next ∈ vs ∧ vs[rl.last].next ∈ ps ∧ ps[vs[rl.last].next] = vs[vs[rl.last].next] ∧ ps[vs[rl.last].next].deqID = None ∧ ps[vs[rl.last].next].next = null ∧ weak?(owns(vs[rl.last].next)); (forward) from specification DMSQ ⊦ owns(r) = Weak(tid) → ¬ noowns(tid, owns); (s) ⊦ D3 ≠ E10; (s) ⊦ D4 ≠ E10; (s) ⊦ D5 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D8 ≠ E10; (s) ⊦ D9 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D16 ≠ E10; (s) ⊦ D17 ≠ E10; (s) ⊦ D18 ≠ E10; (s) ⊦ D19 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D25 ≠ E10; (s) ⊦ D26 ≠ E10; (s) ⊦ D27 ≠ E10; (s) ⊦ D28 ≠ E10; (s) ⊦ D29 ≠ E10; (s) ⊦ D30 ≠ E10; (s) ⊦ D31 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E9 ≠ E10; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) ⊦ x.last ∈ x ↔ x ≠ []; (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) ⊦ 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) .owns = owns; (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) .value = value; (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) .success ↔ success; (s) ⊦ E10 ≠ E11; (s) ⊦ E10 ≠ E12; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s) ⊦ E4 ≠ E10; (s) ⊦ D33 ≠ E10; (s) ⊦ D32 ≠ E10; (s) ⊦ D7 ≠ E10; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ E1 ≠ E10; (s) ⊦ E10 ≠ ready; (s) ⊦ E10 ≠ idle; (s) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ E17; (s) ⊦ D2 ≠ E10; (s) ⊦ D1 ≠ E10; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(owns(vs[(orl + qrl).last].next).tid), pcf(owns(vs[(orl + qrl).last].next).tid) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, ls, pc), markedp(orl, ps), markedp(orl, vs), nextnottid(owns(vs[(orl + qrl).last].next).tid, vhead, vs), noid(owns(vs[(orl + qrl).last].next).tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(owns(vs[(orl + qrl).last].next).tid, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs[(orl + qrl).last].next)), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, ls, pc), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs[(orl + qrl).last].next)), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used simplifier rules: ⊦ weak?(opttid) → (tid = opttid.tid ↔ opttid = Weak(tid)); (elim) Used terms: owns(vs[(orl + qrl).last].next), tid3
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, ls, pc), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs[(orl + qrl).last].next)), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, ls, pc), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used simplifier rules: ⊦ weak?(Weak(tid)); (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, ls, pc), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
⊦ 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)
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, gs0 = gstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), ls = lstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pc = pcstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), pre(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: doEnq(tid), ls, pc, pcf(tid0), gs0, lsf(tid0), mkgs (ps, vs, phead, vhead, (orl + qrl).last, 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) |
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, gs0 = gstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), ls = lstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pc = pcstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), pre(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), pcf(tid0) = E11 ∧ lsf(tid0).tid = tid ∧ ps[lsf(tid0).lst].next ≠ vs[lsf(tid0).lst].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid ∧ lsf(tid0).lst = (orl + qrl).last ⊦
Used simplifier rules: pre-doEnq: ⊦ pre(gs, ls, pc, doEnq(tid)) ↔ pc = E11 ∧ ls.tid = tid ∧ gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ∨ (pc = D16 ∨ pc = E14) ∧ gs.owns(ls.nxt).tid = tid ∧ ls.lst = (gs.orl + gs.qrl).last; ⊦ 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) .owns = owns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), pcf(tid0) = E11 ∧ lsf(tid0).tid = tid ∧ ps[lsf(tid0).lst].next ≠ vs[lsf(tid0).lst].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid ∧ lsf(tid0).lst = (orl + qrl).last ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = E11 ∧ lsf(tid0).tid = tid ∧ ps[lsf(tid0).lst].next ≠ vs[lsf(tid0).lst].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid ∧ lsf(tid0).lst = (orl + qrl).last, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: tid0
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = E11 ∧ lsf(tid0).tid = tid ∧ ps[lsf(tid0).lst].next ≠ vs[lsf(tid0).lst].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid ∧ lsf(tid0).lst = (orl + qrl).last, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), pcf(tid) = E11 ∧ tid0 = tid ∧ ps[phead1].next ≠ vs[phead1].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid ∧ lsf(tid0).lst = (orl + qrl).last ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), pcf(tid) = E11 ∧ tid0 = tid ∧ ps[phead1].next ≠ vs[phead1].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid ∧ lsf(tid0).lst = (orl + qrl).last ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, pcf(tid) = E11, tid0 = tid, ps[phead1].next ≠ vs[phead1].next, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, owns(lsf(tid0).nxt).tid = tid, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = D16 ∨ pcf(tid0) = E14 ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, pcf(tid) = E11, tid0 = tid, ps[phead1].next ≠ vs[phead1].next, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, pcf(tid) = E11, vs[(orl + qrl).last].next ≠ null, ps[phead1].next ≠ vs[phead1].next, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11, alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, pcf(tid) = E11, vs[(orl + qrl).last].next ≠ null, ps[phead1].next ≠ vs[phead1].next, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11, alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
⊦ 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[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, (E10 = idle ⊃ idle ;(E10 = ready ⊃ ready ;(E10 = crashed ⊃ crashed ;( E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E10 = E11 ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ⊃ invEnq ;(E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E4 ∨ E10 = E13 ∨ E10 = E17 ⊃ resEnq ;( E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E10 = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = invEnq, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid) = E11, pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, ps[phead1].next ≠ vs[phead1].next, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11, alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10
| ⊦ 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[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, (E10 = idle ⊃ idle ;(E10 = ready ⊃ ready ;(E10 = crashed ⊃ crashed ;( E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E10 = E11 ∧ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ⊃ invEnq ;(E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E4 ∨ E10 = E13 ∨ E10 = E17 ⊃ resEnq ;( E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∧ ¬ mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∧ ( mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E10 = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = invEnq, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid) = E11, pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, ps[phead1].next ≠ vs[phead1].next, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11, alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, pcf(tid) = E11, vs[(orl + qrl).last].next ≠ null, ps[phead1].next ≠ vs[phead1].next, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11, alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ 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) ⊦ E9 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E4 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E1 ≠ E10; (s) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ ready; (s) ⊦ E10 ≠ idle; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, pcf(tid) = E11, vs[(orl + qrl).last].next ≠ null, ps[phead1].next ≠ vs[phead1].next, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11, alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
⊦ 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[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, (E11 = idle ⊃ idle ;(E11 = ready ⊃ ready ;(E11 = crashed ⊃ crashed ;( E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∧ ¬ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∧ ( mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null) ∨ E11 = E11 ∧ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ⊃ invEnq ;(E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E4 ∨ E11 = E13 ∨ E11 = E17 ⊃ resEnq ;( E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∧ ¬ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∧ ( mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None) ∨ E11 = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid), ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid) = E11, pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, ps[phead1].next ≠ vs[phead1].next, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11, alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11
| ⊦ 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[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, (E11 = idle ⊃ idle ;(E11 = ready ⊃ ready ;(E11 = crashed ⊃ crashed ;( E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∧ ¬ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∧ ( mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null) ∨ E11 = E11 ∧ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ⊃ invEnq ;(E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E4 ∨ E11 = E13 ∨ E11 = E17 ⊃ resEnq ;( E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∧ ¬ mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∧ ( mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None) ∨ E11 = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid), ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid) = E11, pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, ps[phead1].next ≠ vs[phead1].next, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11, alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, (phead1 = (orl + qrl).last ⊃ invEnq;resEnq) = apcf(tid), ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, pcf(tid) = E11, vs[(orl + qrl).last].next ≠ null, ps[phead1].next ≠ vs[phead1].next, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11, alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ E10 ≠ E11; (s) ⊦ E11 ≠ E16; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E13; (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) ⊦ E9 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E1 ≠ E11; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ idle; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, (phead1 = (orl + qrl).last ⊃ invEnq;resEnq) = apcf(tid), ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, pcf(tid) = E11, vs[(orl + qrl).last].next ≠ null, ps[phead1].next ≠ vs[phead1].next, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11, alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
⊦ 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: ⊦ D1 ≠ E11; (s) ⊦ D2 ≠ E11; (s) ⊦ D3 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ E11 ≠ E17; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ ready; (s) ⊦ E1 ≠ E11; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D5 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D7 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D17 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E10 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E11 ≠ E16; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E12; (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) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (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) .owns = owns; (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 ↔ a ∈ x ∨ a ∈ y; (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) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11
| ⊦ 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))) |
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, owns(lsf(tid0).nxt).tid = tid, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = D16 ∨ pcf(tid0) = E14 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = D16 ∨ pcf(tid0) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = D16 ∨ pcf(tid0) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = D16 ∨ pcf(tid0) = E14 ⊦
Used terms: tid0
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = D16 ∨ pcf(tid0) = E14 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = D16 ∨ pcf(tid0) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = D16 ∨ pcf(tid0) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, pcf(tid0) = D16, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, pcf(tid0) = E14, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, pcf(tid0) = D16, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid0) = D16, pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), D16), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid0) = D16, pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), D16), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
⊦ 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) ⊦ D16 ≠ crashed; (s) ⊦ D16 ≠ idle; (s) ⊦ D16 ≠ ready; (s) ⊦ D16 ≠ E1; (s) ⊦ D16 ≠ E17; (s) ⊦ D1 ≠ D16; (s) ⊦ D2 ≠ D16; (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) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ D7 ≠ D16; (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) ⊦ D16 ≠ E4; (s) ⊦ D16 ≠ E16; (s) ⊦ D16 ≠ E15; (s) ⊦ D16 ≠ E14; (s) ⊦ D16 ≠ E13; (s) ⊦ D16 ≠ E12; (s) ⊦ D16 ≠ E11; (s) ⊦ D16 ≠ E10; (s) ⊦ D16 ≠ E9; (s) ⊦ D16 ≠ E8; (s) ⊦ D16 ≠ E7; (s) ⊦ D16 ≠ E6; (s) ⊦ D16 ≠ E5; (s) ⊦ D16 ≠ E3; (s) ⊦ D16 ≠ E2; (s) ⊦ D16 ≠ D34; (s) ⊦ D16 ≠ D31; (s) ⊦ D16 ≠ D30; (s) ⊦ D16 ≠ D29; (s) ⊦ D16 ≠ D28; (s) ⊦ D16 ≠ D27; (s) ⊦ D16 ≠ D26; (s) ⊦ D16 ≠ D25; (s) ⊦ D16 ≠ D24; (s) ⊦ D16 ≠ D23; (s) ⊦ D16 ≠ D22; (s) ⊦ D16 ≠ D21; (s) ⊦ D16 ≠ D20; (s) ⊦ D16 ≠ D19; (s) ⊦ D16 ≠ D18; (s) ⊦ D16 ≠ D17; (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 ↔ a ∈ x ∨ a ∈ y; (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) .vs = ps0; (s) ⊦ D15 ≠ D16; (s) ⊦ D14 ≠ D16; (s) ⊦ D13 ≠ D16; (s) ⊦ D12 ≠ D16; (s) ⊦ D11 ≠ D16; (s) ⊦ D10 ≠ D16; (s) ⊦ D9 ≠ D16; (s) ⊦ D8 ≠ D16; (s) ⊦ D6 ≠ D16; (s) ⊦ D5 ≠ D16; (s) ⊦ D4 ≠ D16; (s) ⊦ D3 ≠ D16; (s) ⊦ Weak(tid).tid = tid; (s) Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), D16
| ⊦ 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))) |
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E10, pcf(tid0) = E14, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid0) = E14, pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), E14), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid0) = E14, pcf(tid3) = E10, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), E14), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
⊦ 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: ⊦ D1 ≠ E14; (s) ⊦ D2 ≠ E14; (s) ⊦ E14 ≠ E17; (s) ⊦ E14 ≠ crashed; (s) ⊦ E14 ≠ idle; (s) ⊦ E14 ≠ ready; (s) ⊦ E1 ≠ E14; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D7 ≠ E14; (s) ⊦ D32 ≠ E14; (s) ⊦ D33 ≠ E14; (s) ⊦ E4 ≠ E14; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ E14 ≠ E16; (s) ⊦ E14 ≠ E15; (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) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (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) .vs = ps0; (s) ⊦ E13 ≠ E14; (s) ⊦ E12 ≠ E14; (s) ⊦ E11 ≠ E14; (s) ⊦ E10 ≠ E14; (s) ⊦ E9 ≠ E14; (s) ⊦ E8 ≠ E14; (s) ⊦ E7 ≠ E14; (s) ⊦ E6 ≠ E14; (s) ⊦ E5 ≠ E14; (s) ⊦ E3 ≠ E14; (s) ⊦ E2 ≠ E14; (s) ⊦ D34 ≠ E14; (s) ⊦ D31 ≠ E14; (s) ⊦ D30 ≠ E14; (s) ⊦ D29 ≠ E14; (s) ⊦ D28 ≠ E14; (s) ⊦ D27 ≠ E14; (s) ⊦ D26 ≠ E14; (s) ⊦ D25 ≠ E14; (s) ⊦ D24 ≠ E14; (s) ⊦ D23 ≠ E14; (s) ⊦ D22 ≠ E14; (s) ⊦ D21 ≠ E14; (s) ⊦ D20 ≠ E14; (s) ⊦ D19 ≠ E14; (s) ⊦ D18 ≠ E14; (s) ⊦ D17 ≠ E14; (s) ⊦ D16 ≠ E14; (s) ⊦ D15 ≠ E14; (s) ⊦ D14 ≠ E14; (s) ⊦ D13 ≠ E14; (s) ⊦ D12 ≠ E14; (s) ⊦ D11 ≠ E14; (s) ⊦ D10 ≠ E14; (s) ⊦ D9 ≠ E14; (s) ⊦ D8 ≠ E14; (s) ⊦ D6 ≠ E14; (s) ⊦ D5 ≠ E14; (s) ⊦ D4 ≠ E14; (s) ⊦ D3 ≠ E14; (s) ⊦ Weak(tid).tid = tid; (s) Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), E14
| ⊦ 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))) |
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(owns(vs[(orl + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(owns(vs[(orl + qrl).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
⊦ 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)))
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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), E11 = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D6 → ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ∨ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D12 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next), E11 = D13 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D14 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D15 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty, E11 = D16 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D17 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D18 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D19 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D20 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success) ∧ (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ), E11 = D21 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first), E11 = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D25 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D26 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D27 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D29 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D30 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D31 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D34 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ⊃ Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), E11 = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E10 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E11 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E12 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null, E11 = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → nextnottid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), E11 = E10 → (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), E11 = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), E11 = E4 → (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11
| ⊦ 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))) |
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, 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), E11 = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D6 → ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ∨ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D12 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next), E11 = D13 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D14 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D15 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty, E11 = D16 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D17 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D18 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D19 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D20 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success) ∧ (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ), E11 = D21 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first), E11 = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D25 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D26 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D27 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D29 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D30 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D31 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D34 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ⊃ Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), E11 = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E10 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E11 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E12 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null, E11 = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → nextnottid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), E11 = E10 → (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), E11 = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), E11 = E4 → (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(owns(vs[(orl + qrl).last].next).tid), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, ls, pc), markedp(orl, ps), markedp(orl, vs), nextnottid(owns(vs[(orl + qrl).last].next).tid, vhead, vs), noid(owns(vs[(orl + qrl).last].next).tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(owns(vs[(orl + qrl).last].next).tid, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs[(orl + qrl).last].next)), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: fw-weak-oneweakowns: ⊦ oneweakowns(tid, r0, owns, vs, ps) ∧ owns(r) = Weak(tid) ∧ r ∈ ps ∧ r ∈ vs → r = r0; (forward) from specification DMSQ listp-nextoflast: ⊦ listp(rl, vs, ps, owns) ∧ vs[rl.last].next ≠ null → vs[rl.last].next ∈ vs ∧ vs[rl.last].next ∈ ps ∧ ps[vs[rl.last].next] = vs[vs[rl.last].next] ∧ ps[vs[rl.last].next].deqID = None ∧ ps[vs[rl.last].next].next = null ∧ weak?(owns(vs[rl.last].next)); (forward) from specification DMSQ ⊦ owns(r) = Weak(tid) → ¬ noowns(tid, owns); (s) ⊦ D3 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D5 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D17 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E10 ≠ E11; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) ⊦ x.last ∈ x ↔ x ≠ []; (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) ⊦ 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) .owns = owns; (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) .value = value; (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) .success ↔ success; (s) ⊦ E11 ≠ E12; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E16; (s) ⊦ E4 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D7 ≠ E11; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ E1 ≠ E11; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ E17; (s) ⊦ D2 ≠ E11; (s) ⊦ D1 ≠ E11; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(owns(vs[(orl + qrl).last].next).tid), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, ls, pc), markedp(orl, ps), markedp(orl, vs), nextnottid(owns(vs[(orl + qrl).last].next).tid, vhead, vs), noid(owns(vs[(orl + qrl).last].next).tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(owns(vs[(orl + qrl).last].next).tid, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs[(orl + qrl).last].next)), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, ls, pc), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs[(orl + qrl).last].next)), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used simplifier rules: ⊦ weak?(opttid) → (tid = opttid.tid ↔ opttid = Weak(tid)); (elim) Used terms: owns(vs[(orl + qrl).last].next), tid3
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, ls, pc), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs[(orl + qrl).last].next)), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, ls, pc), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used simplifier rules: ⊦ weak?(Weak(tid)); (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs0, ls, pc), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
⊦ 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)
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, gs0 = gstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), ls = lstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pc = pcstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), pre(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: doEnq(tid), ls, pc, pcf(tid0), gs0, lsf(tid0), mkgs (ps, vs, phead, vhead, (orl + qrl).last, 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) |
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, gs0 = gstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), ls = lstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pc = pcstepf(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), pre(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid)), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), pcf(tid0) = E11 ∧ lsf(tid0).tid = tid ∧ ps[lsf(tid0).lst].next ≠ vs[lsf(tid0).lst].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid ∧ lsf(tid0).lst = (orl + qrl).last ⊦
Used simplifier rules: pre-doEnq: ⊦ pre(gs, ls, pc, doEnq(tid)) ↔ pc = E11 ∧ ls.tid = tid ∧ gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ∨ (pc = D16 ∨ pc = E14) ∧ gs.owns(ls.nxt).tid = tid ∧ ls.lst = (gs.orl + gs.qrl).last; ⊦ 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) .owns = owns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), pcf(tid0) = E11 ∧ lsf(tid0).tid = tid ∧ ps[lsf(tid0).lst].next ≠ vs[lsf(tid0).lst].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid ∧ lsf(tid0).lst = (orl + qrl).last ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = E11 ∧ lsf(tid0).tid = tid ∧ ps[lsf(tid0).lst].next ≠ vs[lsf(tid0).lst].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid ∧ lsf(tid0).lst = (orl + qrl).last, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: tid0
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = E11 ∧ lsf(tid0).tid = tid ∧ ps[lsf(tid0).lst].next ≠ vs[lsf(tid0).lst].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid ∧ lsf(tid0).lst = (orl + qrl).last, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), pcf(tid) = E11 ∧ tid0 = tid ∧ ps[phead1].next ≠ vs[phead1].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid ∧ lsf(tid0).lst = (orl + qrl).last ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), pcf(tid) = E11 ∧ tid0 = tid ∧ ps[phead1].next ≠ vs[phead1].next ∨ (pcf(tid0) = D16 ∨ pcf(tid0) = E14) ∧ owns(lsf(tid0).nxt).tid = tid ∧ lsf(tid0).lst = (orl + qrl).last ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, pcf(tid) = E11, tid0 = tid, ps[phead1].next ≠ vs[phead1].next, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, owns(lsf(tid0).nxt).tid = tid, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = D16 ∨ pcf(tid0) = E14 ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, pcf(tid) = E11, tid0 = tid, ps[phead1].next ≠ vs[phead1].next, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, pcf(tid) = E11, vs[(orl + qrl).last].next ≠ null, ps[phead1].next ≠ vs[phead1].next, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11, alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, pcf(tid) = E11, vs[(orl + qrl).last].next ≠ null, ps[phead1].next ≠ vs[phead1].next, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11, alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
⊦ 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: ⊦ D1 ≠ E11; (s) ⊦ D2 ≠ E11; (s) ⊦ E11 ≠ E17; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ ready; (s) ⊦ E1 ≠ E11; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D7 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E11 ≠ E16; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E12; (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) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (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) .owns = owns; (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 ↔ a ∈ x ∨ a ∈ y; (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) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ E10 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D17 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D5 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D3 ≠ E11; (s) ⊦ Weak(tid) = Weak(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), E11
| ⊦ 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))) |
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, owns(lsf(tid0).nxt).tid = tid, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = D16 ∨ pcf(tid0) = E14 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = D16 ∨ pcf(tid0) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = D16 ∨ pcf(tid0) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = D16 ∨ pcf(tid0) = E14 ⊦
Used terms: tid0
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = D16 ∨ pcf(tid0) = E14 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = D16 ∨ pcf(tid0) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = D16 ∨ pcf(tid0) = E14, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, pcf(tid0) = D16, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, pcf(tid0) = E14, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, pcf(tid0) = D16, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid0) = D16, pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), D16), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid0) = D16, pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), D16), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
⊦ 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) ⊦ D16 ≠ crashed; (s) ⊦ D16 ≠ idle; (s) ⊦ D16 ≠ ready; (s) ⊦ D16 ≠ E1; (s) ⊦ D16 ≠ E17; (s) ⊦ D1 ≠ D16; (s) ⊦ D2 ≠ D16; (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) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ D7 ≠ D16; (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) ⊦ D16 ≠ E4; (s) ⊦ D16 ≠ E16; (s) ⊦ D16 ≠ E15; (s) ⊦ D16 ≠ E14; (s) ⊦ D16 ≠ E13; (s) ⊦ D16 ≠ E12; (s) ⊦ D16 ≠ E11; (s) ⊦ D16 ≠ E10; (s) ⊦ D16 ≠ E9; (s) ⊦ D16 ≠ E8; (s) ⊦ D16 ≠ E7; (s) ⊦ D16 ≠ E6; (s) ⊦ D16 ≠ E5; (s) ⊦ D16 ≠ E3; (s) ⊦ D16 ≠ E2; (s) ⊦ D16 ≠ D34; (s) ⊦ D16 ≠ D31; (s) ⊦ D16 ≠ D30; (s) ⊦ D16 ≠ D29; (s) ⊦ D16 ≠ D28; (s) ⊦ D16 ≠ D27; (s) ⊦ D16 ≠ D26; (s) ⊦ D16 ≠ D25; (s) ⊦ D16 ≠ D24; (s) ⊦ D16 ≠ D23; (s) ⊦ D16 ≠ D22; (s) ⊦ D16 ≠ D21; (s) ⊦ D16 ≠ D20; (s) ⊦ D16 ≠ D19; (s) ⊦ D16 ≠ D18; (s) ⊦ D16 ≠ D17; (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 ↔ a ∈ x ∨ a ∈ y; (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) .vs = ps0; (s) ⊦ D15 ≠ D16; (s) ⊦ D14 ≠ D16; (s) ⊦ D13 ≠ D16; (s) ⊦ D12 ≠ D16; (s) ⊦ D11 ≠ D16; (s) ⊦ D10 ≠ D16; (s) ⊦ D9 ≠ D16; (s) ⊦ D8 ≠ D16; (s) ⊦ D6 ≠ D16; (s) ⊦ D5 ≠ D16; (s) ⊦ D4 ≠ D16; (s) ⊦ D3 ≠ D16; (s) ⊦ Weak(tid).tid = tid; (s) Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), D16
| ⊦ 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))) |
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, pcf(tid0) = E14, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid0) = E14, pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), E14), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, lsf(tid0).lst = (orl + qrl).last, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, lsf(tid0).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)) = apcf(owns(lsf(tid0).nxt).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = invEnq, apcf(tid3) = invEnq, dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(owns(lsf(tid0).nxt).tid) = mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid0) = E14, pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(owns(lsf(tid0).nxt).tid) ≠ invEnq, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), E14), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(owns(lsf(tid0).nxt).tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(lsf(tid0).nxt).tid), alsf(owns(lsf(tid0).nxt).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
⊦ 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: ⊦ D1 ≠ E14; (s) ⊦ D2 ≠ E14; (s) ⊦ E14 ≠ E17; (s) ⊦ E14 ≠ crashed; (s) ⊦ E14 ≠ idle; (s) ⊦ E14 ≠ ready; (s) ⊦ E1 ≠ E14; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D7 ≠ E14; (s) ⊦ D32 ≠ E14; (s) ⊦ D33 ≠ E14; (s) ⊦ E4 ≠ E14; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ E14 ≠ E16; (s) ⊦ E14 ≠ E15; (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) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (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) .vs = ps0; (s) ⊦ E13 ≠ E14; (s) ⊦ E12 ≠ E14; (s) ⊦ E11 ≠ E14; (s) ⊦ E10 ≠ E14; (s) ⊦ E9 ≠ E14; (s) ⊦ E8 ≠ E14; (s) ⊦ E7 ≠ E14; (s) ⊦ E6 ≠ E14; (s) ⊦ E5 ≠ E14; (s) ⊦ E3 ≠ E14; (s) ⊦ E2 ≠ E14; (s) ⊦ D34 ≠ E14; (s) ⊦ D31 ≠ E14; (s) ⊦ D30 ≠ E14; (s) ⊦ D29 ≠ E14; (s) ⊦ D28 ≠ E14; (s) ⊦ D27 ≠ E14; (s) ⊦ D26 ≠ E14; (s) ⊦ D25 ≠ E14; (s) ⊦ D24 ≠ E14; (s) ⊦ D23 ≠ E14; (s) ⊦ D22 ≠ E14; (s) ⊦ D21 ≠ E14; (s) ⊦ D20 ≠ E14; (s) ⊦ D19 ≠ E14; (s) ⊦ D18 ≠ E14; (s) ⊦ D17 ≠ E14; (s) ⊦ D16 ≠ E14; (s) ⊦ D15 ≠ E14; (s) ⊦ D14 ≠ E14; (s) ⊦ D13 ≠ E14; (s) ⊦ D12 ≠ E14; (s) ⊦ D11 ≠ E14; (s) ⊦ D10 ≠ E14; (s) ⊦ D9 ≠ E14; (s) ⊦ D8 ≠ E14; (s) ⊦ D6 ≠ E14; (s) ⊦ D5 ≠ E14; (s) ⊦ D4 ≠ E14; (s) ⊦ D3 ≠ E14; (s) ⊦ Weak(tid).tid = tid; (s) Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), E14
| ⊦ 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))) |
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, doEnq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ), dom vrvHp = dom prvHp, gs0 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (orl + qrl).last, 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(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf0 = lsf, pcf0 = pcf, orl ≠ [], vtail0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, doEnq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], vtail0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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), vtail0 ∈ ps, vtail0 ∈ vs, 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate (mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (orl + qrl).last, 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(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, doEnq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], vtail0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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), vtail0 ∈ ps, vtail0 ∈ vs, 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate (mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (orl + qrl).last, 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(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, doEnq(tid) = doEnq(owns(vs[(orl + qrl).last].next).tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), vtail0 = (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, orl ≠ [], vtail0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate (mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (orl + qrl).last, 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(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
Used simplifier rules: ⊦ doEnq(tid) ≠ τ; (s)
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, doEnq(tid) = doEnq(owns(vs[(orl + qrl).last].next).tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), vtail0 = (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, orl ≠ [], vtail0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate (mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (orl + qrl).last, 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(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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), weak?(owns(vs[(orl + qrl).last].next)), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty0 ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ owns(vs[(orl + qrl).last].next).tid = alsf(owns(vs[(orl + qrl).last].next).tid).tid ∧ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf, pcf), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(owns(vs[(orl + qrl).last].next).tid), invEnq, DoEnq(owns(vs[(orl + qrl).last].next).tid)), alsf (owns(vs[(orl + qrl).last].next).tid ; lstepf(mkgs(content(qrl, ps)), alsf(owns(vs[(orl + qrl).last].next).tid), invEnq, DoEnq(owns(vs[(orl + qrl).last].next).tid)) ), apcf (owns(vs[(orl + qrl).last].next).tid ; pcstepf(mkgs(content(qrl, ps)), alsf(owns(vs[(orl + qrl).last].next).tid), invEnq, DoEnq(owns(vs[(orl + qrl).last].next).tid)) )))
Used simplifier rules: ⊦ DoEnq(tid) = DoEnq(tid0) ↔ tid = tid0; (s) ⊦ pre(gs, ls, invEnq, a) ↔ a = DoEnq(ls.tid); (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) listp-nextoflast: ⊦ listp(rl, vs, ps, owns) ∧ vs[rl.last].next ≠ null → vs[rl.last].next ∈ vs ∧ vs[rl.last].next ∈ ps ∧ ps[vs[rl.last].next] = vs[vs[rl.last].next] ∧ ps[vs[rl.last].next].deqID = None ∧ ps[vs[rl.last].next].next = null ∧ weak?(owns(vs[rl.last].next)); (forward) from specification DMSQ ⊦ doEnq(tid) = doEnq(tid0) ↔ tid = tid0; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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), weak?(owns(vs[(orl + qrl).last].next)), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty0 ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ owns(vs[(orl + qrl).last].next).tid = alsf(owns(vs[(orl + qrl).last].next).tid).tid ∧ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf, pcf), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(owns(vs[(orl + qrl).last].next).tid), invEnq, DoEnq(owns(vs[(orl + qrl).last].next).tid)), alsf (owns(vs[(orl + qrl).last].next).tid ; lstepf(mkgs(content(qrl, ps)), alsf(owns(vs[(orl + qrl).last].next).tid), invEnq, DoEnq(owns(vs[(orl + qrl).last].next).tid)) ), apcf (owns(vs[(orl + qrl).last].next).tid ; pcstepf(mkgs(content(qrl, ps)), alsf(owns(vs[(orl + qrl).last].next).tid), invEnq, DoEnq(owns(vs[(orl + qrl).last].next).tid)) ))) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid0), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), alsf(tid0)), 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), weak?(owns(vs[(orl + qrl).last].next)), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ tid0 = alsf(tid0).tid ∧ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf, pcf), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0)), alsf(tid0; lstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0))), apcf(tid0; pcstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0)))))
Used simplifier rules: ⊦ weak?(opttid) → (tid = opttid.tid ↔ opttid = Weak(tid)); (elim) Used terms: owns(vs[(orl + qrl).last].next), tid0
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid0), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), alsf(tid0)), 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), weak?(owns(vs[(orl + qrl).last].next)), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ tid0 = alsf(tid0).tid ∧ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf, pcf), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0)), alsf(tid0; lstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0))), apcf(tid0; pcstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0))))) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid0), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), alsf(tid0)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ tid0 = alsf(tid0).tid ∧ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf, pcf), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0)), alsf(tid0; lstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0))), apcf(tid0; pcstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0)))))
Used simplifier rules: ⊦ weak?(Weak(tid)); (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid0), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), alsf(tid0)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ tid0 = alsf(tid0).tid ∧ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf, pcf), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0)), alsf(tid0; lstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0))), apcf(tid0; pcstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0))))) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid0), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), alsf(tid0)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11 ⊦ tid0 = tid1 ∧ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf, pcf), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0)), alsf(tid0; lstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0))), apcf(tid0; pcstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0)))))
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, obsEmpty, alsf(tid0), oval, tid1, optval
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid0), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), alsf(tid0)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11 ⊦ tid0 = tid1 ∧ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf, pcf), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0)), alsf(tid0; lstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0))), apcf(tid0; pcstepf(mkgs(content(qrl, ps)), alsf(tid0), invEnq, DoEnq(tid0))))) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid0), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid1, obsEmpty, val, optval, val1, optval0)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ tid0 = tid1 ∧ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf, pcf), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid1), invEnq, DoEnq(tid1)), alsf(tid1; lstepf(mkgs(content(qrl, ps)), alsf(tid1), invEnq, DoEnq(tid1))), apcf(tid1; pcstepf(mkgs(content(qrl, ps)), alsf(tid1), invEnq, DoEnq(tid1)))))
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid0), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid1, obsEmpty, val, optval, val1, optval0)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ tid0 = tid1 ∧ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf, pcf), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid1), invEnq, DoEnq(tid1)), alsf(tid1; lstepf(mkgs(content(qrl, ps)), alsf(tid1), invEnq, DoEnq(tid1))), apcf(tid1; pcstepf(mkgs(content(qrl, ps)), alsf(tid1), invEnq, DoEnq(tid1))))) |
⊦ 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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid = mkls(tid1, obsEmpty, val, optval, val1, optval0).tid, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid0), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ 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), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ ( mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null) ∨ pcf(tid0) = E11 ∧ mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value = mkls(tid1, obsEmpty, val, optval, val1, optval0).ival, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null → mkls(tid1, obsEmpty, val, optval, val1, optval0).obsEmpty, pcf(tid0) = D20 ∧ mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∨ pcf(tid0) = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∨ pcf(tid0) = D22 → mkls(tid1, obsEmpty, val, optval, val1, optval0).oval = mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∨ pcf(tid0) = D34 → mkls(tid1, obsEmpty, val, optval, val1, optval0).oval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11 ⊦ tid0 = tid1 ∧ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf, pcf), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid1), invEnq, DoEnq(tid1)), alsf(tid1; lstepf(mkgs(content(qrl, ps)), alsf(tid1), invEnq, DoEnq(tid1))), apcf(tid1; pcstepf(mkgs(content(qrl, ps)), alsf(tid1), invEnq, DoEnq(tid1)))))
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0), mkls(tid1, obsEmpty, val, optval, val1, optval0)
| ⊦ 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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid = mkls(tid1, obsEmpty, val, optval, val1, optval0).tid, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)) = invEnq, alsf(tid0) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid0) = invEnq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid0), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid0)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ 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), pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ ( mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null) ∨ pcf(tid0) = E11 ∧ mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value = mkls(tid1, obsEmpty, val, optval, val1, optval0).ival, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null → mkls(tid1, obsEmpty, val, optval, val1, optval0).obsEmpty, pcf(tid0) = D20 ∧ mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∨ pcf(tid0) = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∨ pcf(tid0) = D22 → mkls(tid1, obsEmpty, val, optval, val1, optval0).oval = mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∨ pcf(tid0) = D34 → mkls(tid1, obsEmpty, val, optval, val1, optval0).oval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid0) = E10 ∧ obsEmpty0 ∨ pcf(tid0) = E11 ⊦ tid0 = tid1 ∧ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf, pcf), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid1), invEnq, DoEnq(tid1)), alsf(tid1; lstepf(mkgs(content(qrl, ps)), alsf(tid1), invEnq, DoEnq(tid1))), apcf(tid1; pcstepf(mkgs(content(qrl, ps)), alsf(tid1), invEnq, DoEnq(tid1))))) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf, pcf), mkstate(mkgs(content(qrl, ps) + val '), alsf(tid1; mkls(tid1, obsEmpty, val, optval, val1, optval0)), apcf(tid1; resEnq))), ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ pcstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invEnq, DoEnq(tid)) = resEnq; (s) ⊦ lstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invEnq, DoEnq(tid)) = mkls(tid, obsEmpty, ival, oval, value, optval); (s) ⊦ mkgs(queue).queue:= queue0 = mkgs(queue0); (s) ⊦ x + a = x + a '; (s) ⊦ mkgs(queue).queue = queue; (s) ⊦ gstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invEnq, DoEnq(tid)) = gs.queue:= (gs.queue + ival); (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, 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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ abs (mkstate (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf, pcf), mkstate(mkgs(content(qrl, ps) + val '), alsf(tid1; mkls(tid1, obsEmpty, val, optval, val1, optval0)), apcf(tid1; resEnq))), ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
⊦ 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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, content(qrl, ps) + val ' ≠ content (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .qrl, mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps) ∨ (∃ tid. ¬ ( absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid1; mkls(tid1, obsEmpty, val, optval, val1, optval0))(tid)) ∧ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) = apcf(tid1; resEnq)(tid))) ⊦
Used terms: alsf(tid1; mkls(tid1, obsEmpty, val, optval, val1, optval0)), lsf, content(qrl, ps) + val ', apcf(tid1; resEnq), pcf, mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), 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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, content(qrl, ps) + val ' ≠ content (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .qrl, mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps) ∨ (∃ tid. ¬ ( absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid1; mkls(tid1, obsEmpty, val, optval, val1, optval0))(tid)) ∧ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) = apcf(tid1; resEnq)(tid))) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ' ∨ ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), (tid1 = tid ⊃ mkls(tid, obsEmpty, val, optval, val1, optval0);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ (tid1 = tid ⊃ resEnq;apcf(tid)) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].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) .qrl = qrl; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ' ∨ ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), (tid1 = tid ⊃ mkls(tid, obsEmpty, val, optval, val1, optval0);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ (tid1 = tid ⊃ resEnq;apcf(tid)) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ' ∨ ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), (tid1 = tid ⊃ mkls(tid, obsEmpty, val, optval, val1, optval0);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ (tid1 = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦
content(qrl, ps) + val ' = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ' ∨ ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), (tid1 = tid ⊃ mkls(tid, obsEmpty, val, optval, val1, optval0);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ (tid1 = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦
Used formulas: content(qrl, ps) + val ' ≠ content (qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next] [vs[(orl + qrl).last].next ] .val
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ' ∨ ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), (tid1 = tid ⊃ mkls(tid, obsEmpty, val, optval, val1, optval0);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ (tid1 = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ x + a = x + a '; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) Used terms: ps, (orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next, vs[(orl + qrl).last].next
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + vs[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + vs[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), obsEmpty0, owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E10, content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + vs[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E11, content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + vs[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), obsEmpty0, owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E10, content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + vs[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E10, content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + vs[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ 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), ps[(orl + qrl).last].next = null → val0 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ D14 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ E10 ≠ E16; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E13; (s) ⊦ E9 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E1 ≠ E10; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E10, content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + vs[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ 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), ps[(orl + qrl).last].next = null → val0 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
⊦ 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)))
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E10, content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + vs[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, orl ≠ [], 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), ps[(orl + qrl).last].next = null → val0 = val, 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), E10 = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref) = Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = D6 → ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ∨ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ), E10 = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E10 = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E10 = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E10 = D12 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next), E10 = D13 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E10 = D14 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E10 = D15 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty, E10 = D16 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = D17 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = D18 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D19 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = D20 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success) ∧ (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ), E10 = D21 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first), E10 = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E10 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E10 = D25 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val)), E10 = D26 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid)) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val)), E10 = D27 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val)), E10 = D28 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D29 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D30 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D31 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D34 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ⊃ Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ), E10 = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), E10 = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E10 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E10 = E11 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E10 = E12 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null, E10 = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, E10 = E4 ∨ E10 = E10 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null), E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = D13 ∨ E10 = D14 ∨ E10 = D15 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success, E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → nextnottid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → nextnottid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 → noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 ∨ E10 = E1 ∨ E10 = E12 ∨ E10 = E17 → noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → oneowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), E10 = E10 → (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), E10 = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), E10 = E4 → (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10
| ⊦ 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))) |
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E10, content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + vs[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, orl ≠ [], 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), ps[(orl + qrl).last].next = null → val0 = val, 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), E10 = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref) = Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = D6 → ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ∨ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ), E10 = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E10 = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E10 = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E10 = D12 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next), E10 = D13 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E10 = D14 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E10 = D15 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty, E10 = D16 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = D17 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = D18 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D19 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = D20 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success) ∧ (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ), E10 = D21 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first), E10 = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E10 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E10 = D25 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val)), E10 = D26 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid)) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val)), E10 = D27 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val)), E10 = D28 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D29 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D30 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E10 = D31 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E10 = D34 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ⊃ Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ), E10 = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), E10 = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E10 = E10 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E10 = E11 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E10 = E12 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null, E10 = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E10 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, E10 = E4 ∨ E10 = E10 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null), E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = D13 ∨ E10 = D14 ∨ E10 = D15 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success, E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → nextnottid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → nextnottid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 → noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 ∨ E10 = E1 ∨ E10 = E12 ∨ E10 = E17 → noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → oneowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), E10 = E10 → (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), E10 = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), E10 = E4 → (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E10, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), orl ≠ [], 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), oneweakowns(tid1, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ # y = # y0 → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) fw-weak-oneweakowns: ⊦ oneweakowns(tid, r0, owns, vs, ps) ∧ owns(r) = Weak(tid) ∧ r ∈ ps ∧ r ∈ vs → r = r0; (forward) from specification DMSQ ⊦ D3 ≠ E10; (s) ⊦ D4 ≠ E10; (s) ⊦ D5 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D8 ≠ E10; (s) ⊦ D9 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D16 ≠ E10; (s) ⊦ D17 ≠ E10; (s) ⊦ D18 ≠ E10; (s) ⊦ D19 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D25 ≠ E10; (s) ⊦ D26 ≠ E10; (s) ⊦ D27 ≠ E10; (s) ⊦ D28 ≠ E10; (s) ⊦ D29 ≠ E10; (s) ⊦ D30 ≠ E10; (s) ⊦ D31 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E9 ≠ E10; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) ⊦ x.last ∈ x ↔ x ≠ []; (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) ⊦ 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) .owns = owns; (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) .value = value; (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) .success ↔ success; (s) ⊦ E10 ≠ E11; (s) ⊦ E10 ≠ E12; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s) ⊦ E4 ≠ E10; (s) ⊦ D33 ≠ E10; (s) ⊦ D32 ≠ E10; (s) ⊦ D7 ≠ E10; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ E1 ≠ E10; (s) ⊦ E10 ≠ ready; (s) ⊦ E10 ≠ idle; (s) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ E17; (s) ⊦ D2 ≠ E10; (s) ⊦ D1 ≠ E10; (s) ⊦ owns(r) = Weak(tid) → ¬ noowns(tid, owns); (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E10, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), orl ≠ [], 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), oneweakowns(tid1, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E10, qrl = vhead0 + qrl0, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), orl ≠ [], qrl ≠ [], 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), oneweakowns(tid1, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ content([], ps) = []; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl, vhead0, y
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E10, qrl = vhead0 + qrl0, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), orl ≠ [], qrl ≠ [], 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), oneweakowns(tid1, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, ps[vhead0].deqID = None, ps[(vhead0 ' + qrl0).last].next = null, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E10, ps[vhead0].val ' + content(qrl0, ps) ≠ ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next][vhead0].val ' + content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), (vhead0 ' + qrl0).last ∈ ps, (vhead0 ' + qrl0).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ vs, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, 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) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ a ' + x ≠ []; (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a + x = a ' + x; (s) ⊦ content(r ' + rl, ps) = ps[r].val + content(rl, ps); (s)
| vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, ps[vhead0].deqID = None, ps[(vhead0 ' + qrl0).last].next = null, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E10, ps[vhead0].val ' + content(qrl0, ps) ≠ ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next][vhead0].val ' + content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), (vhead0 ' + qrl0).last ∈ ps, (vhead0 ' + qrl0).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ vs, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
ps[vhead0].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[(vhead0 ' + qrl0).last].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E10, ps[vhead0].val ' + content(qrl0, ps) ≠ ps[vhead0].val ' + content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[(vhead0 ' + qrl0).last].next ∈ vs, vs[(vhead0 ' + qrl0).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (vhead0 ' + qrl0).last ∈ vs, (vhead0 ' + qrl0).last ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) ⊦ # x = # z → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) a: ⊦ (x + y) + z = x + y + z; from specification list Used terms: ps, (vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next, vhead0
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| ps[vhead0].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[(vhead0 ' + qrl0).last].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E10, ps[vhead0].val ' + content(qrl0, ps) ≠ ps[vhead0].val ' + content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[(vhead0 ' + qrl0).last].next ∈ vs, vs[(vhead0 ' + qrl0).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (vhead0 ' + qrl0).last ∈ vs, (vhead0 ' + qrl0).last ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, ps[vhead0].deqID = None, ps[(vhead0 ' + qrl0).last].next = null, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E10, (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, content(qrl0, ps) ≠ content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), (vhead0 ' + qrl0).last ∈ ps, (vhead0 ' + qrl0).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ vs, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ # x = # z → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws)
| vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, ps[vhead0].deqID = None, ps[(vhead0 ' + qrl0).last].next = null, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E10, (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, content(qrl0, ps) ≠ content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), (vhead0 ' + qrl0).last ∈ ps, (vhead0 ' + qrl0).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ vs, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
⊦ ps[r].next = vs[r].next ∧ r ∈ ps → ps[r, ps[r].next:= vs[r].next] = ps
ps[vhead0].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[(vhead0 ' + qrl0).last].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E10, (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, content(qrl0, ps) ≠ content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[(vhead0 ' + qrl0).last].next ∈ vs, vs[(vhead0 ' + qrl0).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (vhead0 ' + qrl0).last ∈ vs, (vhead0 ' + qrl0).last ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ ps[(vhead0 ' + qrl0).last].next = vs[(vhead0 ' + qrl0).last].next ∧ (vhead0 ' + qrl0).last ∈ ps
Used terms: ps, (vhead0 ' + qrl0).last, vs
| ⊦ ps[r].next = vs[r].next ∧ r ∈ ps → ps[r, ps[r].next:= vs[r].next] = ps |
| ps[vhead0].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[(vhead0 ' + qrl0).last].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E10, (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, content(qrl0, ps) ≠ content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[(vhead0 ' + qrl0).last].next ∈ vs, vs[(vhead0 ' + qrl0).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (vhead0 ' + qrl0).last ∈ vs, (vhead0 ' + qrl0).last ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ ps[(vhead0 ' + qrl0).last].next = vs[(vhead0 ' + qrl0).last].next ∧ (vhead0 ' + qrl0).last ∈ ps |
ps[vhead0].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[(vhead0 ' + qrl0).last].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E10, (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, content(qrl0, ps) ≠ content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[(vhead0 ' + qrl0).last].next ∈ vs, vs[(vhead0 ' + qrl0).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (vhead0 ' + qrl0).last ∈ vs, (vhead0 ' + qrl0).last ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead0 ∈ orl, ¬ vhead0 ∈ 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 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
| ps[vhead0].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[(vhead0 ' + qrl0).last].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E10, (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, content(qrl0, ps) ≠ content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[(vhead0 ' + qrl0).last].next ∈ vs, vs[(vhead0 ' + qrl0).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (vhead0 ' + qrl0).last ∈ vs, (vhead0 ' + qrl0).last ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead0 ∈ orl, ¬ vhead0 ∈ 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 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
⊦ y ≠ [] → (x + y).last = y.last
vs[vs[qrl0.last].next].deqID = None, ps[vhead0].deqID = None, ps[qrl0.last].next = null, vs[vs[qrl0.last].next].next = null, ps[vs[qrl0.last].next] = vs[vs[qrl0.last].next], abspc (mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls(tid1, vs[vs[qrl0.last].next].val, optval1, vs[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[qrl0.last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, vs[vs[qrl0.last].next].val, optval1, vs[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[qrl0.last].next) = Weak(tid1), pcf(tid1) = E10, qrl0.last ≠ null, vs[qrl0.last].next ≠ null, vs[qrl0.last].next ≠ qrl0.last, content(qrl0, ps) ≠ content(qrl0, ps[qrl0.last, ps[qrl0.last].next:= vs[qrl0.last].next]), orl ≠ [], qrl0 ≠ [], vhead0 ≠ qrl0.last, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[qrl0.last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), qrl0.last ∈ ps, qrl0.last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[qrl0.last].next ∈ ps, vs[qrl0.last].next ∈ vs, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead0 ∈ orl, ¬ vhead0 ∈ 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. absls(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) ⊦ content([], ps) = []; (s) Used terms: vhead0 ', qrl0
| ⊦ y ≠ [] → (x + y).last = y.last |
| vs[vs[qrl0.last].next].deqID = None, ps[vhead0].deqID = None, ps[qrl0.last].next = null, vs[vs[qrl0.last].next].next = null, ps[vs[qrl0.last].next] = vs[vs[qrl0.last].next], abspc (mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls(tid1, vs[vs[qrl0.last].next].val, optval1, vs[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E10) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[qrl0.last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, vs[vs[qrl0.last].next].val, optval1, vs[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[qrl0.last].next) = Weak(tid1), pcf(tid1) = E10, qrl0.last ≠ null, vs[qrl0.last].next ≠ null, vs[qrl0.last].next ≠ qrl0.last, content(qrl0, ps) ≠ content(qrl0, ps[qrl0.last, ps[qrl0.last].next:= vs[qrl0.last].next]), orl ≠ [], qrl0 ≠ [], vhead0 ≠ qrl0.last, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[qrl0.last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), qrl0.last ∈ ps, qrl0.last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[qrl0.last].next ∈ ps, vs[qrl0.last].next ∈ vs, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead0 ∈ orl, ¬ vhead0 ∈ 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. absls(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
Used simplifier rules: ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].val '; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) ⊦ # y = # y0 → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ x + a ' ≠ []; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: qrl0, phead0, y
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E11, content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + vs[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E11, content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + vs[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ 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), ps[(orl + qrl).last].next = null → val0 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ D34 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ E11 ≠ E16; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E13; (s) ⊦ E10 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E1 ≠ E11; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E11, content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + vs[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ 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), ps[(orl + qrl).last].next = null → val0 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
⊦ 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)))
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E11, content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + vs[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, orl ≠ [], 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), ps[(orl + qrl).last].next = null → val0 = val, 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), E11 = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref) = Pending (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = D6 → ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ∨ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ Pending (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ), E11 = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E11 = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E11 = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E11 = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E11 = D12 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next), E11 = D13 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E11 = D14 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E11 = D15 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty, E11 = D16 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = D17 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = D18 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D19 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = D20 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success) ∧ (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first) ∧ noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ), E11 = D21 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first), E11 = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E11 = D25 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E11 = D26 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid)) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E11 = D27 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E11 = D28 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E11 = D29 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E11 = D30 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E11 = D31 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D34 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ⊃ Pending (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ), E11 = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), E11 = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E10 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E11 = E11 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E11 = E12 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null, E11 = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → nextnottid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), E11 = E10 → (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), E11 = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), E11 = E4 → (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11
| ⊦ 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))) |
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E11, content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + vs[vs[(orl + qrl).last].next].val ', (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, orl ≠ [], 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), ps[(orl + qrl).last].next = null → val0 = val, 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), E11 = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref) = Pending (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = D6 → ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ∨ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ Pending (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ), E11 = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E11 = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E11 = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E11 = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next) ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next), E11 = D12 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next), E11 = D13 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E11 = D14 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null, E11 = D15 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] = Empty, E11 = D16 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = D17 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = D18 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D19 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = D20 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success) ∧ (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .first) ∧ noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ), E11 = D21 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first) ∧ noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first), E11 = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ] ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ], E11 = D25 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID .tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E11 = D26 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid)) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E11 = D27 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val)), E11 = D28 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID = Some (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E11 = D29 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E11 = D30 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).othertid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val), E11 = D31 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ] .next, E11 = D34 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Empty ⊃ Pending (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ;Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval .val) ), E11 = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), E11 = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst), E11 = E10 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E11 = E11 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] .val = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value ∧ ( mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Weak (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∨ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node), E11 = E12 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null, E11 = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ≠ null, E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node) = Some(mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mk (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Pending (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid)) = Claimed (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval.val) ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).addr ≠ null ∧ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first → nextnottid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), E11 = E10 → (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), E11 = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next ⊃ oneweakowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), E11 = E4 → (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).success ⊃ noowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid, mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E11, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), orl ≠ [], 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), oneweakowns(tid1, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ # y = # y0 → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) fw-weak-oneweakowns: ⊦ oneweakowns(tid, r0, owns, vs, ps) ∧ owns(r) = Weak(tid) ∧ r ∈ ps ∧ r ∈ vs → r = r0; (forward) from specification DMSQ ⊦ D3 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D5 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D17 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E10 ≠ E11; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) ⊦ x.last ∈ x ↔ x ≠ []; (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) ⊦ 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) .owns = owns; (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) .value = value; (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) .success ↔ success; (s) ⊦ E11 ≠ E12; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E16; (s) ⊦ E4 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D7 ≠ E11; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ E1 ≠ E11; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ E17; (s) ⊦ D2 ≠ E11; (s) ⊦ D1 ≠ E11; (s) ⊦ owns(r) = Weak(tid) → ¬ noowns(tid, owns); (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E11, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), orl ≠ [], 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), oneweakowns(tid1, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E11, qrl = vhead0 + qrl0, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), orl ≠ [], qrl ≠ [], 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), oneweakowns(tid1, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ content([], ps) = []; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl, vhead0, y
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(orl + qrl).last].next].val, optval1, vs[(orl + qrl).last].next, nd0, true, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid1) = E11, qrl = vhead0 + qrl0, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ (orl + qrl).last, vs[(orl + qrl).last].next ≠ null, content(qrl, ps) ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), orl ≠ [], qrl ≠ [], 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), oneweakowns(tid1, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, ps[vhead0].deqID = None, ps[(vhead0 ' + qrl0).last].next = null, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E11, ps[vhead0].val ' + content(qrl0, ps) ≠ ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next][vhead0].val ' + content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), (vhead0 ' + qrl0).last ∈ ps, (vhead0 ' + qrl0).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ vs, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, 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) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ a ' + x ≠ []; (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a + x = a ' + x; (s) ⊦ content(r ' + rl, ps) = ps[r].val + content(rl, ps); (s)
| vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, ps[vhead0].deqID = None, ps[(vhead0 ' + qrl0).last].next = null, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E11, ps[vhead0].val ' + content(qrl0, ps) ≠ ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next][vhead0].val ' + content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), (vhead0 ' + qrl0).last ∈ ps, (vhead0 ' + qrl0).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ vs, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
ps[vhead0].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[(vhead0 ' + qrl0).last].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E11, ps[vhead0].val ' + content(qrl0, ps) ≠ ps[vhead0].val ' + content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[(vhead0 ' + qrl0).last].next ∈ vs, vs[(vhead0 ' + qrl0).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (vhead0 ' + qrl0).last ∈ vs, (vhead0 ' + qrl0).last ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) ⊦ # x = # z → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) a: ⊦ (x + y) + z = x + y + z; from specification list Used terms: ps, (vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next, vhead0
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| ps[vhead0].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[(vhead0 ' + qrl0).last].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E11, ps[vhead0].val ' + content(qrl0, ps) ≠ ps[vhead0].val ' + content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[(vhead0 ' + qrl0).last].next ∈ vs, vs[(vhead0 ' + qrl0).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (vhead0 ' + qrl0).last ∈ vs, (vhead0 ' + qrl0).last ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, ps[vhead0].deqID = None, ps[(vhead0 ' + qrl0).last].next = null, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E11, (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, content(qrl0, ps) ≠ content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), (vhead0 ' + qrl0).last ∈ ps, (vhead0 ' + qrl0).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ vs, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ # x = # z → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws)
| vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, ps[vhead0].deqID = None, ps[(vhead0 ' + qrl0).last].next = null, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E11, (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, content(qrl0, ps) ≠ content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), (vhead0 ' + qrl0).last ∈ ps, (vhead0 ' + qrl0).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ ps, vs[(vhead0 ' + qrl0).last].next ∈ vs, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
⊦ ps[r].next = vs[r].next ∧ r ∈ ps → ps[r, ps[r].next:= vs[r].next] = ps
ps[vhead0].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[(vhead0 ' + qrl0).last].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E11, (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, content(qrl0, ps) ≠ content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[(vhead0 ' + qrl0).last].next ∈ vs, vs[(vhead0 ' + qrl0).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (vhead0 ' + qrl0).last ∈ vs, (vhead0 ' + qrl0).last ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ ps[(vhead0 ' + qrl0).last].next = vs[(vhead0 ' + qrl0).last].next ∧ (vhead0 ' + qrl0).last ∈ ps
Used terms: ps, (vhead0 ' + qrl0).last, vs
| ⊦ ps[r].next = vs[r].next ∧ r ∈ ps → ps[r, ps[r].next:= vs[r].next] = ps |
| ps[vhead0].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[(vhead0 ' + qrl0).last].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E11, (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, vs[(vhead0 ' + qrl0).last].next ≠ null, content(qrl0, ps) ≠ content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[(vhead0 ' + qrl0).last].next ∈ vs, vs[(vhead0 ' + qrl0).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (vhead0 ' + qrl0).last ∈ vs, (vhead0 ' + qrl0).last ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead0 ∈ qrl0, ¬ vhead0 ∈ orl, 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 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ ps[(vhead0 ' + qrl0).last].next = vs[(vhead0 ' + qrl0).last].next ∧ (vhead0 ' + qrl0).last ∈ ps |
ps[vhead0].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[(vhead0 ' + qrl0).last].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E11, (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, content(qrl0, ps) ≠ content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[(vhead0 ' + qrl0).last].next ∈ vs, vs[(vhead0 ' + qrl0).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (vhead0 ' + qrl0).last ∈ vs, (vhead0 ' + qrl0).last ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead0 ∈ orl, ¬ vhead0 ∈ 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 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
| ps[vhead0].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].deqID = None, vs[vs[(vhead0 ' + qrl0).last].next].next = null, ps[(vhead0 ' + qrl0).last].next = null, ps[vs[(vhead0 ' + qrl0).last].next] = vs[vs[(vhead0 ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[(vhead0 ' + qrl0).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls (tid1, vs[vs[(vhead0 ' + qrl0).last].next].val, optval1, vs[(vhead0 ' + qrl0).last].next, nd0, true, (vhead0 ' + qrl0).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(vhead0 ' + qrl0).last].next) = Weak(tid1), pcf(tid1) = E11, (vhead0 ' + qrl0).last ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ null, vs[(vhead0 ' + qrl0).last].next ≠ (vhead0 ' + qrl0).last, content(qrl0, ps) ≠ content(qrl0, ps[(vhead0 ' + qrl0).last, ps[(vhead0 ' + qrl0).last].next:= vs[(vhead0 ' + qrl0).last].next]), orl ≠ [], vhead0 ≠ (vhead0 ' + qrl0).last, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[(vhead0 ' + qrl0).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), vs[(vhead0 ' + qrl0).last].next ∈ vs, vs[(vhead0 ' + qrl0).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (vhead0 ' + qrl0).last ∈ vs, (vhead0 ' + qrl0).last ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead0 ∈ orl, ¬ vhead0 ∈ 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 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vhead0 ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
⊦ y ≠ [] → (x + y).last = y.last
vs[vs[qrl0.last].next].deqID = None, ps[vhead0].deqID = None, ps[qrl0.last].next = null, vs[vs[qrl0.last].next].next = null, ps[vs[qrl0.last].next] = vs[vs[qrl0.last].next], abspc (mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls(tid1, vs[vs[qrl0.last].next].val, optval1, vs[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[qrl0.last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, vs[vs[qrl0.last].next].val, optval1, vs[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[qrl0.last].next) = Weak(tid1), pcf(tid1) = E11, qrl0.last ≠ null, vs[qrl0.last].next ≠ null, vs[qrl0.last].next ≠ qrl0.last, content(qrl0, ps) ≠ content(qrl0, ps[qrl0.last, ps[qrl0.last].next:= vs[qrl0.last].next]), orl ≠ [], qrl0 ≠ [], vhead0 ≠ qrl0.last, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[qrl0.last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), qrl0.last ∈ ps, qrl0.last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[qrl0.last].next ∈ ps, vs[qrl0.last].next ∈ vs, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead0 ∈ orl, ¬ vhead0 ∈ 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. absls(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) ⊦ content([], ps) = []; (s) Used terms: vhead0 ', qrl0
| ⊦ y ≠ [] → (x + y).last = y.last |
| vs[vs[qrl0.last].next].deqID = None, ps[vhead0].deqID = None, ps[qrl0.last].next = null, vs[vs[qrl0.last].next].next = null, ps[vs[qrl0.last].next] = vs[vs[qrl0.last].next], abspc (mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), mkls(tid1, vs[vs[qrl0.last].next].val, optval1, vs[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), E11) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, vs[vs[qrl0.last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, vs[vs[qrl0.last].next].val, optval1, vs[qrl0.last].next, nd0, true, qrl0.last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[qrl0.last].next) = Weak(tid1), pcf(tid1) = E11, qrl0.last ≠ null, vs[qrl0.last].next ≠ null, vs[qrl0.last].next ≠ qrl0.last, content(qrl0, ps) ≠ content(qrl0, ps[qrl0.last, ps[qrl0.last].next:= vs[qrl0.last].next]), orl ≠ [], qrl0 ≠ [], vhead0 ≠ qrl0.last, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead0 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid1, vhead, vs), noid(tid1, orl + vhead0 ' + qrl0, vhead, vs), nonullRetRefs(orl + vhead0 ' + qrl0, vs, vretRefs, pretRefs), oneweakowns(tid1, vs[qrl0.last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), qrl0.last ∈ ps, qrl0.last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[qrl0.last].next ∈ ps, vs[qrl0.last].next ∈ vs, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead0 ∈ orl, ¬ vhead0 ∈ 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. absls(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, qrl0.last, vretRefs, pretRefs, vrvHp, prvHp, vhead0 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead0].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
Used simplifier rules: ⊦ content(rl + r ', ps) = content(rl, ps) + ps[r].val '; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).val = nd.val; (s) ⊦ # y = # y0 → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ x + a ' ≠ []; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: qrl0, phead0, y
| content(qrl, ps) + val ' = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls(tid1, obsEmpty, val, optval, val1, optval0), apcf(tid1) = invEnq, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), content(qrl, ps) + val ' ≠ content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]) + ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val ' ∨ ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), (tid1 = tid ⊃ mkls(tid, obsEmpty, val, optval, val1, optval0);alsf(tid))) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ (tid1 = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), (tid1 = tid ⊃ mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ (tid1 = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ x + a ' = y + b ' ↔ x = y ∧ a = b; (ws) ⊦ x + a = x + a '; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), (tid1 = tid ⊃ mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ (tid1 = tid ⊃ resEnq;apcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), tid1 = tid, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), (tid1 = tid ⊃ mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ (tid1 = tid ⊃ resEnq;apcf(tid)) ⊦
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), (tid1 = tid ⊃ mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ (tid1 = tid ⊃ resEnq;apcf(tid)) ⊦
Used formulas: tid1 = tid
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), tid1 = tid, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), (tid1 = tid ⊃ mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ (tid1 = tid ⊃ resEnq;apcf(tid)) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, alsf(tid) = mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval = optval1, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval = vrvHp[vretRefs(tid)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid) = E10 ∧ obsEmpty0 ∨ pcf(tid) = E11, ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) ≠ resEnq ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, alsf(tid) = mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval = optval1, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval = vrvHp[vretRefs(tid)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid) = E10 ∧ obsEmpty0 ∨ pcf(tid) = E11, ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) ≠ resEnq ⊦ |
⊦ 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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, alsf(tid) = mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval = vrvHp[vretRefs(tid)], pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval = optval1, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0)) ∨ (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, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success → mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls (tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).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, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .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, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success → mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls (tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID = None) ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .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 ) ) ) ) ) ) ≠ resEnq, pcf(tid) = E10 ∧ obsEmpty0 ∨ pcf(tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls (tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), 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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, alsf(tid) = mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval = vrvHp[vretRefs(tid)], pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval = optval1, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0)) ∨ (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, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success → mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls (tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).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, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .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, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success → mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls (tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .nxt ] .deqID = None) ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .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 ) ) ) ) ) ) ≠ resEnq, pcf(tid) = E10 ∧ obsEmpty0 ∨ pcf(tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, alsf(tid) = mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval = optval1, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval = vrvHp[vretRefs(tid)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid) = E10 ∧ obsEmpty0 ∨ pcf(tid) = E11, ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0)) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ¬ obsEmpty0 ∨ 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 ⊦
Used simplifier rules: ⊦ resDeq ≠ resEnq; (s) ⊦ invDeq ≠ resEnq; (s) ⊦ invEnq ≠ resEnq; (s) ⊦ crashed ≠ resEnq; (s) ⊦ ready ≠ resEnq; (s) ⊦ idle ≠ resEnq; (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) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (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)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, alsf(tid) = mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval = optval1, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval = vrvHp[vretRefs(tid)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid) = E10 ∧ obsEmpty0 ∨ pcf(tid) = E11, ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0)) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ¬ obsEmpty0 ∨ 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 ⊦ |
⊦ 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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, alsf(tid) = mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval = vrvHp[vretRefs(tid)], pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval = optval1, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ ( mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid = mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) .tid ∧ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success → mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls (tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value = mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) .ival) ∧ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null → mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) .obsEmpty) ∧ ( pcf(tid) = D20 ∧ mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) .oval = mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval) ∧ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ∨ pcf(tid) = D34 → mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) .oval = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vrvHp [mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vretRefs (mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ])) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ¬ obsEmpty0 ∨ 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) = E10 ∧ obsEmpty0 ∨ pcf(tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls (tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next] [vs[(orl + qrl).last].next ] .val, optval, val1, optval0)
| ⊦ 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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, alsf(tid) = mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval = vrvHp[vretRefs(tid)], pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval = optval1, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ ( mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid = mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) .tid ∧ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success → mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls (tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).value = mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) .ival) ∧ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt = null → mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) .obsEmpty) ∧ ( pcf(tid) = D20 ∧ mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) .oval = mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).optval) ∧ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0) .success ∨ pcf(tid) = D34 → mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) .oval = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vrvHp [mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vretRefs (mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0).tid) ])) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ¬ obsEmpty0 ∨ 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) = E10 ∧ obsEmpty0 ∨ pcf(tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, alsf(tid) = mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval = optval1, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval = vrvHp[vretRefs(tid)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid) = E10 ∧ obsEmpty0 ∨ pcf(tid) = E11, ¬ ( pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval = optval1) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ¬ obsEmpty0 ∨ 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 ⊦
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) ⊦ 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).obsEmpty ↔ obsEmpty; (s) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (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, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = invEnq, alsf(tid) = mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty, pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval = optval1, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty0 ∨ pcf(tid) = D34 → optval = vrvHp[vretRefs(tid)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid) = E10 ∧ obsEmpty0 ∨ pcf(tid) = E11, ¬ ( pcf(tid) = D20 ∧ obsEmpty0 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval = optval1) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ¬ obsEmpty0 ∨ 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 ⊦ |
Used simplifier rules: ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ crashed; (s) ⊦ E1 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E10 ≠ E11; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E16; (s) ⊦ D15 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ E10 ≠ idle; (s) ⊦ E10 ≠ ready; (s) ⊦ E10 ≠ crashed; (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 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), (tid1 = tid ⊃ mkls (tid, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0) ;alsf(tid) )) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ (tid1 = tid ⊃ resEnq;apcf(tid)) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: tid
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, 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), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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, (orl + qrl).last, 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), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid)) ≠ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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)])
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, lsf(tid).tid = alsf(tid).tid, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), 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, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, 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, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, 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, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs(lsf(tid).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, 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)]) |
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, lsf(tid).tid = alsf(tid).tid, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), 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, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, 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, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, 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, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs(lsf(tid).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, lsf(tid).tid = alsf(tid).tid, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp[vretRefs(alsf(tid).tid)], pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval, 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 = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = alsf(tid).ival, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][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) ⊦ 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)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, lsf(tid).tid = alsf(tid).tid, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp[vretRefs(alsf(tid).tid)], pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval, 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 = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = alsf(tid).ival, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, lsf(tid).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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 = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[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(tid0)], pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦
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
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, lsf(tid).tid = tid0, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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 = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val, pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[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(tid0)], pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid) = mkls(lsf(tid).tid, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty1, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, 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) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = lsf(tid).optval, 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 = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), mkls(lsf(tid).tid, obsEmpty1, val, optval3, val2, optval4)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid) = mkls(lsf(tid).tid, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty1, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, 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) = D20 ∧ lsf(tid).success ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = lsf(tid).optval, 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 = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), mkls(lsf(tid).tid, obsEmpty1, val, optval3, val2, optval4)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).lst = (orl + qrl).last ∧ ps[lsf(tid).lst].next = null → ¬ lsf(tid).success ;(pcf(tid) = E11 ⊃ lsf(tid).lst ≠ (orl + qrl).last ∨ ps[lsf(tid).lst].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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 → vhead1 = (orl + qrl).last ∧ ps[vhead1].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[vhead1].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].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(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), mkls(tid0, obsEmpty1, val, optval3, val2, optval4)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[vhead1].next = null → ¬ obsEmpty2 ;(pcf(tid) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[vhead1].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦
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, nd, lsf(tid), addr, tid0, lst, first, rvref, othertid, success, optval5
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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 → vhead1 = (orl + qrl).last ∧ ps[vhead1].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[vhead1].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].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(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), lsf(tid), pcf(tid), mkls(tid0, obsEmpty1, val, optval3, val2, optval4)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[vhead1].next = null → ¬ obsEmpty2 ;(pcf(tid) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[vhead1].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, 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[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5, 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 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid), mkls(tid0, obsEmpty1, val, optval3, val2, optval4)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → ¬ obsEmpty2 ;(pcf(tid) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) )) ⊦
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, 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[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5, 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 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ absls (mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid), mkls(tid0, obsEmpty1, val, optval3, val2, optval4)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → ¬ obsEmpty2 ;(pcf(tid) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].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[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].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(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ ( mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).tid = mkls(tid0, obsEmpty1, val, optval3, val2, optval4).tid ∧ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).success → mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).value = mkls(tid0, obsEmpty1, val, optval3, val2, optval4).ival) ∧ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).nxt = null → mkls(tid0, obsEmpty1, val, optval3, val2, optval4).obsEmpty) ∧ ( pcf(tid) = D20 ∧ mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).success ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid0, obsEmpty1, val, optval3, val2, optval4).oval = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).optval) ∧ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).success ∨ pcf(tid) = D34 → mkls(tid0, obsEmpty1, val, optval3, val2, optval4).oval = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vrvHp [mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vretRefs (mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).tid) ])) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → ¬ obsEmpty2 ;(pcf(tid) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦
Used terms: mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns), mkls (tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid), mkls(tid0, obsEmpty1, val, optval3, 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[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].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(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ ( mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).tid = mkls(tid0, obsEmpty1, val, optval3, val2, optval4).tid ∧ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).success → mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).lst = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vtail ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).value = mkls(tid0, obsEmpty1, val, optval3, val2, optval4).ival) ∧ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).nxt = null → mkls(tid0, obsEmpty1, val, optval3, val2, optval4).obsEmpty) ∧ ( pcf(tid) = D20 ∧ mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).success ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .ps [mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid0, obsEmpty1, val, optval3, val2, optval4).oval = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).optval) ∧ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).success ∨ pcf(tid) = D34 → mkls(tid0, obsEmpty1, val, optval3, val2, optval4).oval = mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vrvHp [mkgs (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl + vs[(orl + qrl).last].next ', orl, owns(vs[(orl + qrl).last].next; None), rvowns) .vretRefs (mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr).tid) ])) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → ¬ obsEmpty2 ;(pcf(tid) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) )), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, 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[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5, 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 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ ( 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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → ¬ obsEmpty2 ;(pcf(tid) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) )) ⊦
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) ⊦ 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).obsEmpty ↔ obsEmpty; (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) ⊦ (nd.next:= nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (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, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, 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[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5, 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 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ ( 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 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → ¬ obsEmpty2 ;(pcf(tid) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ; pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) )) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, optval3 ≠ optval5, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].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(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid) = D22, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid) ≠ E4, tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].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(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ (pcf(tid) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → ¬ obsEmpty2 ;(pcf(tid) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) )
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, optval3 ≠ optval5, orl ≠ [], tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].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(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid) = D22, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, optval3 ≠ optval5, orl ≠ [], pcf(tid) ≠ D22, tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID ≠ None ⊦ pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None, pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, optval3 ≠ optval5, orl ≠ [], pcf(tid) ≠ D22, tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID ≠ None ⊦ pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None, pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next, vhead2
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid) ≠ E4, tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].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(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ (pcf(tid) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → ¬ obsEmpty2 ;(pcf(tid) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) ) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid) ≠ E4, tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, 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[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5, 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) = E10 ∧ (obsEmpty2 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ (pcf(tid) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → ¬ obsEmpty2 ;(pcf(tid) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) )
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid) ≠ E4, tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, 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[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5, 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) = E10 ∧ (obsEmpty2 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ (pcf(tid) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → ¬ obsEmpty2 ;(pcf(tid) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) ) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid) ≠ E4, tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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) = E10 ∧ (obsEmpty2 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].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(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ (pcf(tid) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → ¬ obsEmpty2 ;(pcf(tid) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) )
Used terms: tid
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, lsf(tid).tid = tid, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid) ≠ E4, tid1 ≠ tid, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), 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) = E10 ∧ (obsEmpty2 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val3 = val, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead2].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(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead2 = null → obsEmpty1, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ (pcf(tid) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → ¬ obsEmpty2 ;(pcf(tid) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) ) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E4, tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid0)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), 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) = E10 ∧ (obsEmpty2 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid0) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val3 = val, pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].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(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ (pcf(tid0) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → ¬ obsEmpty2 ;(pcf(tid0) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) )
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E4, tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid0)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), 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) = E10 ∧ (obsEmpty2 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid0) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val3 = val, pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].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(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ (pcf(tid0) = E10 ⊃ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null → ¬ obsEmpty2 ;(pcf(tid0) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) ) |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), obsEmpty2, owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid0) = E10, vhead1 = (orl + qrl).last, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E4, tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, 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[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, 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) = E10 ∧ (obsEmpty2 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid0) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val3 = val, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, 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[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, 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) = E10 ∧ (obsEmpty2 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid0) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val3 = val, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ (pcf(tid0) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) )
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), obsEmpty2, owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid0) = E10, vhead1 = (orl + qrl).last, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E4, tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, 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[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, 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) = E10 ∧ (obsEmpty2 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid0) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val3 = val, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val, optval5, vhead0, nd, true, (orl + qrl).last, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid0) = E10, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val, optval5, vhead0, nd, true, (orl + qrl).last, vhead2, rvref, optval6, vhead3, tid3, addr), E10), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ D14 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ E4 ≠ E10; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val, optval5, vhead0, nd, true, (orl + qrl).last, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid0) = E10, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val, optval5, vhead0, nd, true, (orl + qrl).last, vhead2, rvref, optval6, vhead3, tid3, addr), E10), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
⊦ 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: ⊦ D1 ≠ E10; (s) ⊦ D2 ≠ E10; (s) ⊦ E10 ≠ E17; (s) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ idle; (s) ⊦ E10 ≠ ready; (s) ⊦ E1 ≠ E10; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D7 ≠ E10; (s) ⊦ D32 ≠ E10; (s) ⊦ D33 ≠ E10; (s) ⊦ E4 ≠ E10; (s) ⊦ E10 ≠ E16; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E12; (s) ⊦ E10 ≠ E11; (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) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (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) .owns = owns; (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) ⊦ x.last ∈ x ↔ x ≠ []; (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) .lst = node0; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ E9 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D31 ≠ E10; (s) ⊦ D30 ≠ E10; (s) ⊦ D29 ≠ E10; (s) ⊦ D28 ≠ E10; (s) ⊦ D27 ≠ E10; (s) ⊦ D26 ≠ E10; (s) ⊦ D25 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D19 ≠ E10; (s) ⊦ D18 ≠ E10; (s) ⊦ D17 ≠ E10; (s) ⊦ D16 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D9 ≠ E10; (s) ⊦ D8 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D5 ≠ E10; (s) ⊦ D4 ≠ E10; (s) ⊦ D3 ≠ E10; (s) ⊦ owns(r) = Weak(tid) → ¬ noowns(tid, owns); (s) ⊦ Weak(tid) = Weak(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid0, val, optval5, vhead0, nd, true, (orl + qrl).last, vhead2, rvref, optval6, vhead3, tid3, addr), E10
| ⊦ 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))) |
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, 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[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, 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) = E10 ∧ (obsEmpty2 → vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null) ∨ pcf(tid0) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val3 = val, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ (pcf(tid0) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid0)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].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(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, 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) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val3 = val, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ (pcf(tid0) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) )
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid0)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].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(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, 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) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val3 = val, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ (pcf(tid0) = E11 ⊃ vhead1 ≠ (orl + qrl).last ∨ ps[(orl + qrl).last].next ≠ null ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) ) |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid0) = E11, vhead1 = (orl + qrl).last, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), 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) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val3 = val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, 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[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), 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) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val3 = val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, 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[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) )
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid0) = E11, vhead1 = (orl + qrl).last, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), 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) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val3 = val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, 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[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val, optval5, vhead0, nd, obsEmpty2, (orl + qrl).last, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid0) = E11, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val, optval5, vhead0, nd, obsEmpty2, (orl + qrl).last, vhead2, rvref, optval6, vhead3, tid3, addr), E11), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ D22 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ E10 ≠ E11; (s) ⊦ E4 ≠ E11; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val, optval5, vhead0, nd, obsEmpty2, (orl + qrl).last, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), pcf(tid0) = E11, (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val, optval5, vhead0, nd, obsEmpty2, (orl + qrl).last, vhead2, rvref, optval6, vhead3, tid3, addr), E11), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∨ pcf(tid1) = E11 ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
⊦ 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: ⊦ D1 ≠ E11; (s) ⊦ D2 ≠ E11; (s) ⊦ E11 ≠ E17; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ ready; (s) ⊦ E1 ≠ E11; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D7 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E11 ≠ E16; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E12; (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) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (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) .owns = owns; (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) ⊦ x.last ∈ x ↔ x ≠ []; (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) .lst = node0; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ E10 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D17 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D5 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D3 ≠ E11; (s) ⊦ owns(r) = Weak(tid) → ¬ noowns(tid, owns); (s) ⊦ Weak(tid) = Weak(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid0, val, optval5, vhead0, nd, obsEmpty2, (orl + qrl).last, vhead2, rvref, optval6, vhead3, tid3, addr), E11
| ⊦ 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))) |
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), 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), (orl + qrl).last ∈ ps, (orl + qrl).last ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), 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) = E11 ∧ vhead1 = (orl + qrl).last ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val3 = val, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, 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[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, 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), pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid0)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, 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 → val3 = val, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) )
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)) = invEnq, alsf(tid1) = mkls (tid1, obsEmpty, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, optval, val1, optval0), alsf(tid0) = mkls(tid0, obsEmpty1, val, optval3, val2, optval4), apcf(tid1) = invEnq, content(qrl, ps) = content(qrl, ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next]), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid0) = mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), owns(vs[(orl + qrl).last].next) = Weak(tid1), (orl + qrl).last ≠ null, vs[(orl + qrl).last].next ≠ null, orl ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, tid1 ≠ tid0, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val0, optval1, vs[(orl + qrl).last].next, nd0, obsEmpty0, (orl + qrl).last, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid1)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val3, optval5, vhead0, nd, obsEmpty2, vhead1, vhead2, rvref, optval6, vhead3, tid3, addr), pcf(tid0)), 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), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ ps, phead ∈ ps, phead ∈ vs, phead ∈ orl, (orl + qrl).last ∈ vs, (orl + qrl).last ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), pcf(tid1) = E1 ∨ pcf(tid1) = E2 ∨ pcf(tid1) = E3 ∨ pcf(tid1) = E4 ∧ ¬ obsEmpty0 ∨ pcf(tid1) = E5 ∨ pcf(tid1) = E6 ∨ pcf(tid1) = E7 ∨ pcf(tid1) = E8 ∨ pcf(tid1) = E9 ∨ pcf(tid1) = E10 ∧ (obsEmpty0 → ps[(orl + qrl).last].next = null) ∨ pcf(tid1) = E11 ∧ ps[(orl + qrl).last].next = null ∨ pcf(tid1) = E13 ∨ pcf(tid1) = E14 ∨ pcf(tid1) = E15 ∨ pcf(tid1) = E16 → val0 = ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vs[(orl + qrl).last].next].val, (pcf(tid1) = D10 ∨ pcf(tid1) = D11 ∨ pcf(tid1) = D12 ∨ pcf(tid1) = D13 ∨ pcf(tid1) = D14) ∧ phead2 = null → obsEmpty, pcf(tid1) = D20 ∧ obsEmpty0 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid1) = D22 → optval = optval1, pcf(tid1) = D15 ∨ pcf(tid1) = D23 ∨ pcf(tid1) = D24 ∨ pcf(tid1) = D6 ∧ obsEmpty0 ∨ pcf(tid1) = D34 → optval = vrvHp[vretRefs(tid1)], 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), pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead2].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead2 = null → obsEmpty1, 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 → val3 = val, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(tid1) = E10 ∧ obsEmpty0 ∨ pcf(tid1) = E11 ⊦ (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ obsEmpty2 → ps[vhead2].deqID = None ;pcf(tid0) = D21 → (ps[(orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next][vhead2].deqID = None ↔ ps[vhead2].deqID = None) ) |
⊦ a ≠ b → st[b, d][a] = st[a]
Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.next:= nxt).deqID = nd.deqID; (s) Used terms: ps, (orl + qrl).last, ps[(orl + qrl).last].next:= vs[(orl + qrl).last].next, vhead2
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, doEnq(tid) = (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), dom vrvHp = dom prvHp, gs0 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (orl + qrl).last, 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(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf0 = lsf, pcf0 = pcf, orl ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, doEnq(tid) = (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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), vtail1 ∈ ps, vtail1 ∈ vs, 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (orl + qrl).last, 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(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, doEnq(tid) = (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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), vtail1 ∈ ps, vtail1 ∈ vs, 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (orl + qrl).last, 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(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, doEnq(tid) = (qrl ≠ [] ∧ vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), qrl = vtail + qrl0, orl ≠ [], qrl ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;qrl), (qrl ≠ [] ∧ vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)))))
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ doEnq(tid) ≠ τ; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl, vtail, y
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = invEnq, abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), apcf(owns(vs[(orl + qrl).last].next).tid) = invEnq, doEnq(tid) = (qrl ≠ [] ∧ vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), qrl = vtail + qrl0, orl ≠ [], qrl ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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, 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;qrl), (qrl ≠ [] ∧ vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
ps[vtail].deqID = None, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, obsEmpty, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid)) = invEnq, apcf(owns(vs[(vtail ' + qrl0).last].next).tid) = invEnq, doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ), dom vrvHp = dom prvHp, lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, obsEmpty, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, obsEmpty, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, obsEmpty, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid), alsf(owns(vs[(vtail ' + qrl0).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), vtail1 ∈ ps, vtail1 ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ qrl0, ¬ vtail ∈ orl, 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. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)) = apcf(tid0), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E11, orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ pre(mkgs(ps[vtail].val ' + content(qrl0, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[vtail].val ' + content(qrl0, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(ps[vtail].val ' + content(qrl0, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(ps[vtail].val ' + content(qrl0, ps)), alsf(tid), apcf(tid), DoEnq(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] ⊦ a + x = a ' + x; (s) ⊦ content(r ' + rl, ps) = ps[r].val + content(rl, ps); (s) ⊦ a + x = a ' + x; (s) ⊦ a ' + x ≠ []; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s)
| ps[vtail].deqID = None, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, obsEmpty, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid)) = invEnq, apcf(owns(vs[(vtail ' + qrl0).last].next).tid) = invEnq, doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ), dom vrvHp = dom prvHp, lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, obsEmpty, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), orl ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, obsEmpty, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, obsEmpty, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid), alsf(owns(vs[(vtail ' + qrl0).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), vtail1 ∈ ps, vtail1 ∈ vs, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ qrl0, ¬ vtail ∈ orl, 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. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)) = apcf(tid0), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E11, orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ pre(mkgs(ps[vtail].val ' + content(qrl0, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[vtail].val ' + content(qrl0, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(ps[vtail].val ' + content(qrl0, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(ps[vtail].val ' + content(qrl0, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
Used simplifier rules: ⊦ doEnq(tid) ≠ τ; (s) ⊦ doDeq(tid) ≠ doEnq(tid0); (s)
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoEnq(tid))))) |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doEnq(tid), mkstate(gs0, lsf0, pcf0)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11 ⊦ |
⊦ 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), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), ca = doEnq(tid), dom vrvHp = dom prvHp, gs1 = gs0, gs2 = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf1 = lsf, lsf2 = lsf0, pcf1 = pcf, pcf2 = pcf0, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used terms: lsf, doEnq(tid), gs0, pcf, mkgs (ps, vs, phead, vhead, (orl + qrl).last, 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), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), ca = doEnq(tid), dom vrvHp = dom prvHp, gs1 = gs0, gs2 = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf1 = lsf, lsf2 = lsf0, pcf1 = pcf, pcf2 = pcf0, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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[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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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, pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ doEnq(tid) ≠ globalCRASH; (s) ⊦ doEnq(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) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ y ≠ [] → (x + y).last = y.last; (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) ⊦ doEnq(tid) ≠ globalFLUSHVAL(node); (s) ⊦ doEnq(tid) ≠ globalFLUSHHEAD; (s)
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).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[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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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, pcf(owns(vs[(orl + qrl).last].next).tid) = E10 ∧ obsEmpty ∨ pcf(owns(vs[(orl + qrl).last].next).tid) = E11, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), obsEmpty, pcf(owns(vs[(orl + qrl).last].next).tid) = E10, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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 ⊦
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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 ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), obsEmpty, pcf(owns(vs[(orl + qrl).last].next).tid) = E10, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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 ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = apcf(owns(vs[(orl + qrl).last].next).tid), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid) = E10, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(orl + qrl).last].next).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[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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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) ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10) = apcf(owns(vs[(orl + qrl).last].next).tid), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid) = E10, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(orl + qrl).last].next).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[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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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) ⊦ |
⊦ 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 ) ) ) ) ) )
(E10 = idle ⊃ idle ;(E10 = ready ⊃ ready ;(E10 = crashed ⊃ crashed ;( E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E10 = E11 ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ⊃ invEnq ;(E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E4 ∨ E10 = E13 ∨ E10 = E17 ⊃ resEnq ;( E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E10 = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(owns(vs[(orl + qrl).last].next).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid) = E10, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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 ⊦
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10
| ⊦ 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 ) ) ) ) ) ) |
| (E10 = idle ⊃ idle ;(E10 = ready ⊃ ready ;(E10 = crashed ⊃ crashed ;( E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E10 = E11 ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ⊃ invEnq ;(E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E4 ∨ E10 = E13 ∨ E10 = E17 ⊃ resEnq ;( E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None) ∨ E10 = D21 ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(owns(vs[(orl + qrl).last].next).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid) = E10, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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 ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid) = E10, resEnq = apcf(owns(vs[(orl + qrl).last].next).tid), ps[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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 ⊦
Used simplifier rules: ⊦ invEnq ≠ resEnq; (s) ⊦ E10 ≠ E16; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E11; (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) ⊦ E9 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E4 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E1 ≠ E10; (s) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ ready; (s) ⊦ E10 ≠ idle; (s)
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid) = E10, resEnq = apcf(owns(vs[(orl + qrl).last].next).tid), ps[(orl + qrl).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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 ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid) = E10, qrl = vtail + qrl0, resEnq = apcf(owns(vs[(orl + qrl).last].next).tid), ps[(orl + qrl).last].next ≠ null, orl ≠ [], qrl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(orl + qrl).last].next).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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(tid) = (qrl ≠ [] ∧ vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;qrl), (qrl ≠ [] ∧ vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: ⊦ unmarkedp([], vs); (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl, vtail, y
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid) = E10, qrl = vtail + qrl0, resEnq = apcf(owns(vs[(orl + qrl).last].next).tid), ps[(orl + qrl).last].next ≠ null, orl ≠ [], qrl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(orl + qrl).last].next).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(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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(tid) = (qrl ≠ [] ∧ vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;qrl), (qrl ≠ [] ∧ vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl0, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
ps[vtail].deqID = None, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), ps[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(vtail ' + qrl0).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ orl, ¬ vtail ∈ 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), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ∧ vs[(vtail ' + qrl0).last].next ≠ null ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ∧ vs[(vtail ' + qrl0).last].next ≠ null ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ∧ vs[(vtail ' + qrl0).last].next ≠ null ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ⊦
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) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ 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)
| ps[vtail].deqID = None, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), ps[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10), DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(vtail ' + qrl0).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ orl, ¬ vtail ∈ 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), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ∧ vs[(vtail ' + qrl0).last].next ≠ null ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ∧ vs[(vtail ' + qrl0).last].next ≠ null ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ∧ vs[(vtail ' + qrl0).last].next ≠ null ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ⊦ |
⊦ 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[vtail].deqID = None, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), ps[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(vtail ' + qrl0).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ orl, ¬ vtail ∈ 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), E10 = D3 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref) = Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D4 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D5 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = D6 → ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).prvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ]) ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ∨ ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E10 = D8 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl from mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D9 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl from mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E10 = D10 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl from mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E10 = D11 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl from mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E10 = D12 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next), E10 = D13 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E10 = D14 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E10 = D15 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).prvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty, E10 = D16 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = D17 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = D18 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D19 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = D20 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success) ∧ (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ noid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ), E10 = D21 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first), E10 = D22 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D23 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E10 = D24 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).prvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E10 = D25 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs )[mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs )[mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D26 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid)) = Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D27 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D28 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D29 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D30 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D31 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D34 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).pretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).pretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ⊃ Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E10 = E2 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E3 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E5 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E6 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail), E10 = E7 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E8 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E9 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E10 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E10 = E11 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E10 = E12 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null, E10 = E13 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E14 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = E15 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = E16 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl, E10 = E4 ∨ E10 = E10 → ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null) ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null), E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = D13 ∨ E10 = D14 ∨ E10 = D15 → ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success, E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl from mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl from mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl from mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).pretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → nextnottid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs), E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead ≠ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → nextnottid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → noid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs), E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 → noid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs), E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → noid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 ∨ E10 = E1 ∨ E10 = E12 ∨ E10 = E17 → noowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → oneowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps), E10 = E10 → (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns) ) ;oneowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps) ), E10 = E11 → ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns) ), E10 = E4 → (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ noowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns) ;oneowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps) ), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ∧ vs[(vtail ' + qrl0).last].next ≠ null ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ∧ vs[(vtail ' + qrl0).last].next ≠ null ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ∧ vs[(vtail ' + qrl0).last].next ≠ null ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
Used terms: mkgs (ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10
| ⊦ 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[vtail].deqID = None, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), ps[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(vtail ' + qrl0).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ orl, ¬ vtail ∈ 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), E10 = D3 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref) = Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D4 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D5 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = D6 → ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).prvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ]) ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ∨ ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E10 = D8 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl from mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D9 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl from mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E10 = D10 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl from mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E10 = D11 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl from mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E10 = D12 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next), E10 = D13 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E10 = D14 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E10 = D15 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).prvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty, E10 = D16 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = D17 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = D18 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D19 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = D20 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success) ∧ (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ noid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ), E10 = D21 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first), E10 = D22 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D23 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E10 = D24 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).prvHp [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E10 = D25 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs )[mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs )[mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D26 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid)) = Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D27 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E10 = D28 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D29 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D30 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E10 = D31 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E10 = D34 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).pretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).pretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ⊃ Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E10 = E2 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E3 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E5 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E6 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail), E10 = E7 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E8 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E9 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E10 = E10 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E10 = E11 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E10 = E12 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null, E10 = E13 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E14 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = E15 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E10 = E16 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl, E10 = E4 ∨ E10 = E10 → ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null) ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null), E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = D13 ∨ E10 = D14 ∨ E10 = D15 → ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success, E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl from mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl from mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl from mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).pretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ∈ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ≠ null ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → nextnottid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs), E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead ≠ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → nextnottid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∨ E10 = E11 ∨ E10 = E12 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 ∨ E10 = E17 ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 → noid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs), E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D18 ∨ E10 = D19 → noid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs), E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → noid (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).qrl, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs), E10 = crashed ∨ E10 = idle ∨ E10 = ready ∨ E10 = D1 ∨ E10 = D2 ∨ E10 = D3 ∨ E10 = D4 ∨ E10 = D5 ∨ E10 = D6 ∨ E10 = D7 ∨ E10 = D8 ∨ E10 = D9 ∨ E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14 ∨ E10 = D15 ∨ E10 = D16 ∨ E10 = D17 ∨ E10 = D18 ∨ E10 = D19 ∨ E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D25 ∨ E10 = D26 ∨ E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 ∨ E10 = D31 ∨ E10 = D32 ∨ E10 = D33 ∨ E10 = D34 ∨ E10 = E1 ∨ E10 = E12 ∨ E10 = E17 → noowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns), E10 = E2 ∨ E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → oneowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps), E10 = E10 → (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns) ) ;oneowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps) ), E10 = E11 → ( mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns) ), E10 = E4 → (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ noowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns) ;oneowns (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps) ), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ∧ vs[(vtail ' + qrl0).last].next ≠ null ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ∧ vs[(vtail ' + qrl0).last].next ≠ null ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ∧ vs[(vtail ' + qrl0).last].next ≠ null ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
ps[vtail].deqID = None, ps[(vtail ' + qrl0).last].next = vs[(vtail ' + qrl0).last].next, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), vs[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(vtail ' + qrl0).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(owns(vs[(vtail ' + qrl0).last].next).tid, vhead, vs), noid(owns(vs[(vtail ' + qrl0).last].next).tid, orl + vtail ' + qrl0, vhead, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), noowns(owns(vs[(vtail ' + qrl0).last].next).tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vtail ∈ qrl0, ¬ vtail ∈ orl, 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), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
Used simplifier rules: ⊦ D3 ≠ E10; (s) ⊦ D4 ≠ E10; (s) ⊦ D5 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D8 ≠ E10; (s) ⊦ D9 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D16 ≠ E10; (s) ⊦ D17 ≠ E10; (s) ⊦ D18 ≠ E10; (s) ⊦ D19 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D25 ≠ E10; (s) ⊦ D26 ≠ E10; (s) ⊦ D27 ≠ E10; (s) ⊦ D28 ≠ E10; (s) ⊦ D29 ≠ E10; (s) ⊦ D30 ≠ E10; (s) ⊦ D31 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E9 ≠ E10; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (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) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ' + x ≠ []; (s) ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (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) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (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) .success ↔ success; (s) ⊦ E10 ≠ E11; (s) ⊦ E10 ≠ E12; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s) ⊦ E4 ≠ E10; (s) ⊦ D33 ≠ E10; (s) ⊦ D32 ≠ E10; (s) ⊦ D7 ≠ E10; (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) ⊦ E1 ≠ E10; (s) ⊦ E10 ≠ ready; (s) ⊦ E10 ≠ idle; (s) ⊦ E10 ≠ crashed; (s) ⊦ E10 ≠ E17; (s) ⊦ D2 ≠ E10; (s) ⊦ D1 ≠ E10; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)
| ps[vtail].deqID = None, ps[(vtail ' + qrl0).last].next = vs[(vtail ' + qrl0).last].next, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), vs[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(vtail ' + qrl0).last].next).tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(owns(vs[(vtail ' + qrl0).last].next).tid, vhead, vs), noid(owns(vs[(vtail ' + qrl0).last].next).tid, orl + vtail ' + qrl0, vhead, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), noowns(owns(vs[(vtail ' + qrl0).last].next).tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vtail ∈ qrl0, ¬ vtail ∈ orl, 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), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
⊦ 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[vtail].deqID = None, ps[(vtail ' + qrl0).last].next = vs[(vtail ' + qrl0).last].next, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid = alsf(owns(vs[(vtail ' + qrl0).last].next).tid).tid, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), vs[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(owns(vs[(vtail ' + qrl0).last].next).tid, vhead, vs), noid(owns(vs[(vtail ' + qrl0).last].next).tid, orl + vtail ' + qrl0, vhead, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), noowns(owns(vs[(vtail ' + qrl0).last].next).tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vtail ∈ qrl0, ¬ vtail ∈ orl, 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), E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∧ ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E10 = E11 ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value = alsf(owns(vs[(vtail ' + qrl0).last].next).tid).ival, (E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null → alsf(owns(vs[(vtail ' + qrl0).last].next).tid).obsEmpty, E10 = D20 ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E10 = D21 ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E10 = D22 → alsf(owns(vs[(vtail ' + qrl0).last].next).tid).oval = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval, E10 = D15 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D6 ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = D34 → alsf(owns(vs[(vtail ' + qrl0).last].next).tid).oval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ], ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ⊦
Used terms: mkgs (ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), E10, alsf(owns(vs[(vtail ' + qrl0).last].next).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[vtail].deqID = None, ps[(vtail ' + qrl0).last].next = vs[(vtail ' + qrl0).last].next, mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid = alsf(owns(vs[(vtail ' + qrl0).last].next).tid).tid, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), vs[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(owns(vs[(vtail ' + qrl0).last].next).tid, vhead, vs), noid(owns(vs[(vtail ' + qrl0).last].next).tid, orl + vtail ' + qrl0, vhead, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), noowns(owns(vs[(vtail ' + qrl0).last].next).tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vtail ∈ qrl0, ¬ vtail ∈ orl, 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), E10 = E1 ∨ E10 = E2 ∨ E10 = E3 ∨ E10 = E4 ∧ ¬ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E10 ∧ ( mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null) ∨ E10 = E11 ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value = alsf(owns(vs[(vtail ' + qrl0).last].next).tid).ival, (E10 = D10 ∨ E10 = D11 ∨ E10 = D12 ∨ E10 = D13 ∨ E10 = D14) ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null → alsf(owns(vs[(vtail ' + qrl0).last].next).tid).obsEmpty, E10 = D20 ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E10 = D21 ∧ mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).ps [mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∨ E10 = D22 → alsf(owns(vs[(vtail ' + qrl0).last].next).tid).oval = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval, E10 = D15 ∨ E10 = D23 ∨ E10 = D24 ∨ E10 = D6 ∧ mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∨ E10 = D34 → alsf(owns(vs[(vtail ' + qrl0).last].next).tid).oval = mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns).vretRefs (mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ], ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ⊦ |
ps[vtail].deqID = None, ps[(vtail ' + qrl0).last].next = vs[(vtail ' + qrl0).last].next, owns(vs[(vtail ' + qrl0).last].next).tid = alsf(owns(vs[(vtail ' + qrl0).last].next).tid).tid, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), vs[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(owns(vs[(vtail ' + qrl0).last].next).tid, vhead, vs), noid(owns(vs[(vtail ' + qrl0).last].next).tid, orl + vtail ' + qrl0, vhead, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), noowns(owns(vs[(vtail ' + qrl0).last].next).tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ orl, ¬ vtail ∈ 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), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ E10 ≠ E16; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E11; (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) ⊦ E9 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E4 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E1 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| ps[vtail].deqID = None, ps[(vtail ' + qrl0).last].next = vs[(vtail ' + qrl0).last].next, owns(vs[(vtail ' + qrl0).last].next).tid = alsf(owns(vs[(vtail ' + qrl0).last].next).tid).tid, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), vs[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(owns(vs[(vtail ' + qrl0).last].next).tid, vhead, vs), noid(owns(vs[(vtail ' + qrl0).last].next).tid, orl + vtail ' + qrl0, vhead, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), noowns(owns(vs[(vtail ' + qrl0).last].next).tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ orl, ¬ vtail ∈ 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), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ⊦ |
ps[vtail].deqID = None, ps[(vtail ' + qrl0).last].next = vs[(vtail ' + qrl0).last].next, owns(vs[(vtail ' + qrl0).last].next).tid = tid4, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), alsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls(tid4, obsEmpty, val, optval3, val1, optval4), dom vrvHp = dom prvHp, lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), vs[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(owns(vs[(vtail ' + qrl0).last].next).tid, vhead, vs), noid(owns(vs[(vtail ' + qrl0).last].next).tid, orl + vtail ' + qrl0, vhead, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), noowns(owns(vs[(vtail ' + qrl0).last].next).tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ orl, ¬ vtail ∈ 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), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
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, obsEmpty, alsf(owns(vs[(vtail ' + qrl0).last].next).tid), oval, tid3, optval3
| ps[vtail].deqID = None, ps[(vtail ' + qrl0).last].next = vs[(vtail ' + qrl0).last].next, owns(vs[(vtail ' + qrl0).last].next).tid = tid4, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), alsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls(tid4, obsEmpty, val, optval3, val1, optval4), dom vrvHp = dom prvHp, lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), vs[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(owns(vs[(vtail ' + qrl0).last].next).tid, vhead, vs), noid(owns(vs[(vtail ' + qrl0).last].next).tid, orl + vtail ' + qrl0, vhead, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), noowns(owns(vs[(vtail ' + qrl0).last].next).tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ orl, ¬ vtail ∈ 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), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
ps[vtail].deqID = None, ps[(vtail ' + qrl0).last].next = vs[(vtail ' + qrl0).last].next, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), alsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls(owns(vs[(vtail ' + qrl0).last].next).tid, obsEmpty, val, optval3, val1, optval4), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), vs[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(owns(vs[(vtail ' + qrl0).last].next).tid, vhead, vs), noid(owns(vs[(vtail ' + qrl0).last].next).tid, orl + vtail ' + qrl0, vhead, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), noowns(owns(vs[(vtail ' + qrl0).last].next).tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ orl, ¬ vtail ∈ 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), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ⊦
| ps[vtail].deqID = None, ps[(vtail ' + qrl0).last].next = vs[(vtail ' + qrl0).last].next, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), alsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls(owns(vs[(vtail ' + qrl0).last].next).tid, obsEmpty, val, optval3, val1, optval4), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), vs[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(owns(vs[(vtail ' + qrl0).last].next).tid, vhead, vs), noid(owns(vs[(vtail ' + qrl0).last].next).tid, orl + vtail ' + qrl0, vhead, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), noowns(owns(vs[(vtail ' + qrl0).last].next).tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ orl, ¬ vtail ∈ 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), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ⊦ |
⊦ listp(rl, vs, ps, owns) ∧ vs[rl.last].next ≠ null → vs[rl.last].next ∈ vs ∧ vs[rl.last].next ∈ ps ∧ ps[vs[rl.last].next] = vs[vs[rl.last].next] ∧ ps[vs[rl.last].next].deqID = None ∧ ps[vs[rl.last].next].next = null ∧ weak?(owns(vs[rl.last].next))
ps[vtail].deqID = None, ps[(vtail ' + qrl0).last].next = vs[(vtail ' + qrl0).last].next, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), alsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls(owns(vs[(vtail ' + qrl0).last].next).tid, obsEmpty, val, optval3, val1, optval4), dom vrvHp = dom prvHp, lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), vs[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(owns(vs[(vtail ' + qrl0).last].next).tid, vhead, vs), noid(owns(vs[(vtail ' + qrl0).last].next).tid, orl + vtail ' + qrl0, vhead, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), noowns(owns(vs[(vtail ' + qrl0).last].next).tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ orl, ¬ vtail ∈ 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), listp(orl + vtail ' + qrl0, vs, ps, owns) ∧ vs[(orl + vtail ' + qrl0).last].next ≠ null → vs[(orl + vtail ' + qrl0).last].next ∈ vs ∧ vs[(orl + vtail ' + qrl0).last].next ∈ ps ∧ ps[vs[(orl + vtail ' + qrl0).last].next] = vs[vs[(orl + vtail ' + qrl0).last].next] ∧ ps[vs[(orl + vtail ' + qrl0).last].next].deqID = None ∧ ps[vs[(orl + vtail ' + qrl0).last].next].next = null ∧ weak?(owns(vs[(orl + vtail ' + qrl0).last].next)), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs) ⊦
Used terms: orl + vtail ' + qrl0, vs, ps, owns
| ⊦ listp(rl, vs, ps, owns) ∧ vs[rl.last].next ≠ null → vs[rl.last].next ∈ vs ∧ vs[rl.last].next ∈ ps ∧ ps[vs[rl.last].next] = vs[vs[rl.last].next] ∧ ps[vs[rl.last].next].deqID = None ∧ ps[vs[rl.last].next].next = null ∧ weak?(owns(vs[rl.last].next)) |
| ps[vtail].deqID = None, ps[(vtail ' + qrl0).last].next = vs[(vtail ' + qrl0).last].next, abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), alsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls(owns(vs[(vtail ' + qrl0).last].next).tid, obsEmpty, val, optval3, val1, optval4), dom vrvHp = dom prvHp, lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), vs[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(owns(vs[(vtail ' + qrl0).last].next).tid, vhead, vs), noid(owns(vs[(vtail ' + qrl0).last].next).tid, orl + vtail ' + qrl0, vhead, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), noowns(owns(vs[(vtail ' + qrl0).last].next).tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ orl, ¬ vtail ∈ 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), listp(orl + vtail ' + qrl0, vs, ps, owns) ∧ vs[(orl + vtail ' + qrl0).last].next ≠ null → vs[(orl + vtail ' + qrl0).last].next ∈ vs ∧ vs[(orl + vtail ' + qrl0).last].next ∈ ps ∧ ps[vs[(orl + vtail ' + qrl0).last].next] = vs[vs[(orl + vtail ' + qrl0).last].next] ∧ ps[vs[(orl + vtail ' + qrl0).last].next].deqID = None ∧ ps[vs[(orl + vtail ' + qrl0).last].next].next = null ∧ weak?(owns(vs[(orl + vtail ' + qrl0).last].next)), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs) ⊦ |
ps[vtail].deqID = None, vs[vs[(vtail ' + qrl0).last].next].deqID = None, ps[(vtail ' + qrl0).last].next = vs[(vtail ' + qrl0).last].next, vs[vs[(vtail ' + qrl0).last].next].next = null, ps[vs[(vtail ' + qrl0).last].next] = vs[vs[(vtail ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), alsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls(owns(vs[(vtail ' + qrl0).last].next).tid, obsEmpty, val, optval3, val1, optval4), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), vs[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(owns(vs[(vtail ' + qrl0).last].next).tid, vhead, vs), noid(owns(vs[(vtail ' + qrl0).last].next).tid, orl + vtail ' + qrl0, vhead, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), noowns(owns(vs[(vtail ' + qrl0).last].next).tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), weak?(owns(vs[(vtail ' + qrl0).last].next)), phead ∈ ps, phead ∈ vs, phead ∈ orl, vs[(vtail ' + qrl0).last].next ∈ vs, vs[(vtail ' + qrl0).last].next ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ orl, ¬ vtail ∈ 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), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ (x + a ' + y).last = (a ' + y).last; (s)
| ps[vtail].deqID = None, vs[vs[(vtail ' + qrl0).last].next].deqID = None, ps[(vtail ' + qrl0).last].next = vs[(vtail ' + qrl0).last].next, vs[vs[(vtail ' + qrl0).last].next].next = null, ps[vs[(vtail ' + qrl0).last].next] = vs[vs[(vtail ' + qrl0).last].next], abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), alsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls(owns(vs[(vtail ' + qrl0).last].next).tid, obsEmpty, val, optval3, val1, optval4), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(vtail ' + qrl0).last].next).tid) = mkls (owns(vs[(vtail ' + qrl0).last].next).tid, vs[vs[(vtail ' + qrl0).last].next].val, optval, vs[(vtail ' + qrl0).last].next, nd, true, (vtail ' + qrl0).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(vtail ' + qrl0).last].next).tid) = E10, resEnq = apcf(owns(vs[(vtail ' + qrl0).last].next).tid), vs[(vtail ' + qrl0).last].next ≠ null, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vtail ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(owns(vs[(vtail ' + qrl0).last].next).tid, vhead, vs), noid(owns(vs[(vtail ' + qrl0).last].next).tid, orl + vtail ' + qrl0, vhead, vs), nonullRetRefs(orl + vtail ' + qrl0, vs, vretRefs, pretRefs), noowns(owns(vs[(vtail ' + qrl0).last].next).tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, ps), weak?(owns(vs[(vtail ' + qrl0).last].next)), phead ∈ ps, phead ∈ vs, phead ∈ orl, vs[(vtail ' + qrl0).last].next ∈ vs, vs[(vtail ' + qrl0).last].next ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vtail ∈ orl, ¬ vtail ∈ 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), ∀ tid3. lsf(tid3).tid = tid3 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)), ∀ tid3. absls (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3), alsf(tid3)) ∧ abspc (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid3), pcf(tid3)) = apcf(tid3), orl.last = vhead ∧ unmarkedp(qrl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vtail].deqID = None ∧ unmarkedp(qrl0, vs), lstep (mkgs(ps, vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, vtail ' + qrl0, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (vtail ' + qrl0).last ⊃ doEnq(owns(vs[(vtail ' + qrl0).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (vtail ' + qrl0).last ⊃ (vtail ' + qrl0) + vs[(vtail ' + qrl0).last].next ';vtail ' + qrl0), orl, (vtail0 = (vtail ' + qrl0).last ⊃ owns(vs[(vtail ' + qrl0).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(tid) = (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ doDeq(vs[vtail].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, (vtail ' + qrl0).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ qrl0;vtail ' + qrl0), (vtail1 = vtail ∧ vs[vtail].deqID ≠ None ⊃ orl + vtail ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ⊦ |
Used simplifier rules: ⊦ owns(r) = Weak(tid) → ¬ noowns(tid, owns); (s) ⊦ weak?(opttid) → (tid = opttid.tid ↔ opttid = Weak(tid)); (elim) Used terms: owns(vs[(vtail ' + qrl0).last].next), tid4
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)) = apcf(owns(vs[(orl + qrl).last].next).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid), alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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 ⊦ |
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = apcf(owns(vs[(orl + qrl).last].next).tid), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(owns(vs[(orl + qrl).last].next).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[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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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) ⊦
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = apcf(owns(vs[(orl + qrl).last].next).tid), dom vrvHp = dom prvHp, lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(owns(vs[(orl + qrl).last].next).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[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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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) ⊦ |
⊦ 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)))
abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = apcf(owns(vs[(orl + qrl).last].next).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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), E11 = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D6 → ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ∨ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D12 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next), E11 = D13 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D14 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D15 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty, E11 = D16 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D17 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D18 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D19 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D20 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success) ∧ (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ), E11 = D21 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first), E11 = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D25 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D26 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D27 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D29 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D30 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D31 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D34 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ⊃ Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), E11 = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E10 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E11 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E12 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null, E11 = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → nextnottid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), E11 = E10 → (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), E11 = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), E11 = E4 → (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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 ⊦
Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11
| ⊦ 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))) |
| abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = apcf(owns(vs[(orl + qrl).last].next).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(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[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), E11 = D3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D4 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D6 → ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ]) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ∨ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = D8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D10 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D11 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next) ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next), E11 = D12 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next), E11 = D13 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D14 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null, E11 = D15 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] = Empty, E11 = D16 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D17 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = D18 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D19 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D20 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success) ∧ (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ), E11 = D21 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first) ∧ noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first), E11 = D22 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D23 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ], E11 = D25 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D26 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D27 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val)), E11 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D29 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D30 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .othertid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val), E11 = D31 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .deqID ≠ None ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ] .next, E11 = D34 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ] ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Empty ⊃ Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ;Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ), E11 = E2 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E3 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E5 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E6 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), E11 = E7 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E8 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E9 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst), E11 = E10 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E11 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] .val = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value ∧ ( mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Weak (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∨ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node), E11 = E12 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null, E11 = E13 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E14 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E15 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ≠ null, E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node) = Some (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null) ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mk (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ] = mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node ], E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Pending (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → ¬ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success, E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst, E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) = mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid)) = Claimed (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval .val) ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ∈ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .addr ≠ null ∧ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .optval = Val (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt ] .val), E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → nextnottid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first → nextnottid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = E1 ∨ E11 = E2 ∨ E11 = E3 ∨ E11 = E4 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E10 ∨ E11 = E11 ∨ E11 = E12 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 ∨ E11 = E17 ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D18 ∨ E11 = D19 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .first, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .nxt, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), E11 = crashed ∨ E11 = idle ∨ E11 = ready ∨ E11 = D1 ∨ E11 = D2 ∨ E11 = D3 ∨ E11 = D4 ∨ E11 = D5 ∨ E11 = D6 ∨ E11 = D7 ∨ E11 = D8 ∨ E11 = D9 ∨ E11 = D10 ∨ E11 = D11 ∨ E11 = D12 ∨ E11 = D13 ∨ E11 = D14 ∨ E11 = D15 ∨ E11 = D16 ∨ E11 = D17 ∨ E11 = D18 ∨ E11 = D19 ∨ E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 ∨ E11 = D25 ∨ E11 = D26 ∨ E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 ∨ E11 = D31 ∨ E11 = D32 ∨ E11 = D33 ∨ E11 = D34 ∨ E11 = E1 ∨ E11 = E12 ∨ E11 = E17 → noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), E11 = E2 ∨ E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), E11 = E10 → (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), E11 = E11 → ( mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ≠ mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .lst ] .next ⊃ oneweakowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), E11 = E4 → (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .success ⊃ noowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .tid, mkls (owns(vs[(orl + qrl).last].next).tid, val, optval, vs[(orl + qrl).last].next, nd, obsEmpty, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr) .node, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(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, (orl + qrl).last, 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 ∨ doEnq(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, (orl + qrl).last, 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 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = apcf(owns(vs[(orl + qrl).last].next).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(owns(vs[(orl + qrl).last].next).tid), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, vs[(orl + qrl).last].next ≠ null, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(owns(vs[(orl + qrl).last].next).tid, vhead, vs), noid(owns(vs[(orl + qrl).last].next).tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(owns(vs[(orl + qrl).last].next).tid, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs[(orl + qrl).last].next)), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (orl + qrl).last ⊃ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(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, (orl + qrl).last, 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) ⊦
Used simplifier rules: fw-weak-oneweakowns: ⊦ oneweakowns(tid, r0, owns, vs, ps) ∧ owns(r) = Weak(tid) ∧ r ∈ ps ∧ r ∈ vs → r = r0; (forward) from specification DMSQ listp-nextoflast: ⊦ listp(rl, vs, ps, owns) ∧ vs[rl.last].next ≠ null → vs[rl.last].next ∈ vs ∧ vs[rl.last].next ∈ ps ∧ ps[vs[rl.last].next] = vs[vs[rl.last].next] ∧ ps[vs[rl.last].next].deqID = None ∧ ps[vs[rl.last].next].next = null ∧ weak?(owns(vs[rl.last].next)); (forward) from specification DMSQ ⊦ owns(r) = Weak(tid) → ¬ noowns(tid, owns); (s) ⊦ D3 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D5 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D8 ≠ E11; (s) ⊦ D9 ≠ E11; (s) ⊦ D10 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D16 ≠ E11; (s) ⊦ D17 ≠ E11; (s) ⊦ D18 ≠ E11; (s) ⊦ D19 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D25 ≠ E11; (s) ⊦ D26 ≠ E11; (s) ⊦ D27 ≠ E11; (s) ⊦ D28 ≠ E11; (s) ⊦ D29 ≠ E11; (s) ⊦ D30 ≠ E11; (s) ⊦ D31 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E10 ≠ E11; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (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) ⊦ x.last ∈ x ↔ x ≠ []; (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) ⊦ 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) .owns = owns; (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) .value = value; (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) .success ↔ success; (s) ⊦ E11 ≠ E12; (s) ⊦ E11 ≠ E13; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E16; (s) ⊦ E4 ≠ E11; (s) ⊦ D33 ≠ E11; (s) ⊦ D32 ≠ E11; (s) ⊦ D7 ≠ E11; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ E1 ≠ E11; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ E17; (s) ⊦ D2 ≠ E11; (s) ⊦ D1 ≠ E11; (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = apcf(owns(vs[(orl + qrl).last].next).tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(owns(vs[(orl + qrl).last].next).tid) = mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(owns(vs[(orl + qrl).last].next).tid), pcf(owns(vs[(orl + qrl).last].next).tid) = E11, vs[(orl + qrl).last].next ≠ null, apcf(owns(vs[(orl + qrl).last].next).tid) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (owns(vs[(orl + qrl).last].next).tid, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(owns(vs[(orl + qrl).last].next).tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(owns(vs[(orl + qrl).last].next).tid, vhead, vs), noid(owns(vs[(orl + qrl).last].next).tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(owns(vs[(orl + qrl).last].next).tid, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs[(orl + qrl).last].next)), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (orl + qrl).last ⊃ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(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, (orl + qrl).last, 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) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = apcf(tid3), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid3) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs[(orl + qrl).last].next)), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (orl + qrl).last ⊃ doEnq(tid3);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(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, (orl + qrl).last, 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 ⊦
Used simplifier rules: ⊦ weak?(opttid) → (tid = opttid.tid ↔ opttid = Weak(tid)); (elim) Used terms: owns(vs[(orl + qrl).last].next), tid3
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = apcf(tid3), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid3) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), weak?(owns(vs[(orl + qrl).last].next)), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (orl + qrl).last ⊃ doEnq(tid3);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(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, (orl + qrl).last, 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 ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = apcf(tid3), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid3) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (orl + qrl).last ⊃ doEnq(tid3);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(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, (orl + qrl).last, 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 ⊦
Used simplifier rules: ⊦ weak?(Weak(tid)); (s)
| vs[vs[(orl + qrl).last].next].deqID = None, ps[(orl + qrl).last].next = null, vs[vs[(orl + qrl).last].next].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = apcf(tid3), dom vrvHp = dom prvHp, lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid3) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vs[(orl + qrl).last].next ∈ ps, vs[(orl + qrl).last].next ∈ vs, ¬ 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. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, 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), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (orl + qrl).last ⊃ doEnq(tid3);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(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, (orl + qrl).last, 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 ⊦ |
⊦ listp(rl, vs, ps, owns) ∧ vs[rl.last].next ≠ null → vs[rl.last].next ∈ vs ∧ vs[rl.last].next ∈ ps ∧ ps[vs[rl.last].next] = vs[vs[rl.last].next] ∧ ps[vs[rl.last].next].deqID = None ∧ ps[vs[rl.last].next].next = null ∧ weak?(owns(vs[rl.last].next))
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = apcf(tid3), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid3) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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), listp(orl + qrl, vs, ps, owns) ∧ vs[(orl + qrl).last].next ≠ null → vs[(orl + qrl).last].next ∈ vs ∧ vs[(orl + qrl).last].next ∈ ps ∧ ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next] ∧ ps[vs[(orl + qrl).last].next].deqID = None ∧ ps[vs[(orl + qrl).last].next].next = null ∧ weak?(owns(vs[(orl + qrl).last].next)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (orl + qrl).last ⊃ doEnq(tid3);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(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, (orl + qrl).last, 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) ⊦
Used terms: orl + qrl, vs, ps, owns
| ⊦ listp(rl, vs, ps, owns) ∧ vs[rl.last].next ≠ null → vs[rl.last].next ∈ vs ∧ vs[rl.last].next ∈ ps ∧ ps[vs[rl.last].next] = vs[vs[rl.last].next] ∧ ps[vs[rl.last].next].deqID = None ∧ ps[vs[rl.last].next].next = null ∧ weak?(owns(vs[rl.last].next)) |
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = apcf(tid3), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid3) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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), listp(orl + qrl, vs, ps, owns) ∧ vs[(orl + qrl).last].next ≠ null → vs[(orl + qrl).last].next ∈ vs ∧ vs[(orl + qrl).last].next ∈ ps ∧ ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next] ∧ ps[vs[(orl + qrl).last].next].deqID = None ∧ ps[vs[(orl + qrl).last].next].next = null ∧ weak?(owns(vs[(orl + qrl).last].next)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (orl + qrl).last ⊃ doEnq(tid3);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(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, (orl + qrl).last, 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) ⊦ |
vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = apcf(tid3), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid3) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (orl + qrl).last ⊃ doEnq(tid3);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(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, (orl + qrl).last, 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) ⊦
Used simplifier rules: ⊦ weak?(Weak(tid)); (s)
| vs[vs[(orl + qrl).last].next].deqID = None, vs[vs[(orl + qrl).last].next].next = null, ps[(orl + qrl).last].next = null, ps[vs[(orl + qrl).last].next] = vs[vs[(orl + qrl).last].next], abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11) = apcf(tid3), abspc (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), lsf(tid3) = mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), owns(vs[(orl + qrl).last].next) = Weak(tid3), pcf(tid3) = E11, vs[(orl + qrl).last].next ≠ null, apcf(tid3) ≠ invEnq, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11, alsf(tid3)), absls (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, phead0, nd0, obsEmpty0, phead1, phead2, rvref0, optval2, phead3, tid2, addr0), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid3, vhead, vs), noid(tid3, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), oneweakowns(tid3, vs[(orl + qrl).last].next, owns, vs, ps), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vs[(orl + qrl).last].next ∈ vs, vs[(orl + qrl).last].next ∈ 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, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), lstep (mkgs(ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doEnq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doEnq(tid) = (vtail0 = (orl + qrl).last ⊃ doEnq(tid3);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doEnq(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, (orl + qrl).last, 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) ⊦ |
⊦ 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: ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ crashed; (s) ⊦ E1 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E4 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E9 ≠ E11; (s) ⊦ E10 ≠ E11; (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) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) Used terms: mkgs (ps, vs, phead, vhead, (orl + qrl).last, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid3, vs[vs[(orl + qrl).last].next].val, optval, vs[(orl + qrl).last].next, nd, true, (orl + qrl).last, vhead2, rvref, optval0, vhead3, tid1, addr), E11
| ⊦ 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 ) ) ) ) ) ) |
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.